Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Table Student has 3 columns,Student_id,Student_Name &
Course_Id. Table Course has 2 columns, Course_Id &
Course_Name.Write a query to listdown all the Courses and
number of student in each course.

Answer Posted / cm

select s.stud_name,c.course_name from student s,course c
where s.course_id = c.course_id group by
s.stud_name,c.course_name;

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the sql commands?

1171


Explain the difference between 'between' & 'and' operators in sql

996


What is rank dense_rank and partition in sql?

1028


What is the use of sqldataadapter?

967


What are all the different normalizations?

1025


How many types of literals are available in pl sql?

1113


Are stored procedures faster than dynamic sql?

1029


Will truncate release space?

943


Can we use ddl statements in stored procedure sql server?

1006


What is insert command in sql?

1123


what is 'trigger' in sql? : Sql dba

1082


Can we call stored procedure in function?

957


How can you maintain the integrity of your database on instances where deleting an element in a table result in the deletion of the element(s) within another table?

1123


How do you write a subquery?

1023


Can you sum a count in sql?

1003