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 / monalisa.dalbehera

select count(s.student_id),c.cource_name
from student s,course c
where c.course_id=s.course_id
group by c.course_name;

Is This Answer Correct ?    48 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I add a primary key to a table?

1027


What does desc stand for?

1058


Why we use joins in sql?

965


Which is better varchar or nvarchar?

977


Why do we use triggers?

954


What is sql and explain its components?

1043


What are properties of the transaction?

991


Can a view be mutating? If yes, then how?

1005


How to run sql statements through the web interface?

1020


What is the difference between rename and alias?

1326


What is microsoft t sql?

926


How to call a javascript function from pl sql?

1118


Can we commit in trigger?

952


what are all the different types of indexes? : Sql dba

1035


how to dump a table to a file with 'mysqldump'? : Sql dba

1022