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 / pradip d

select count(student_name),course_name from student,course
where course.course_id=student.course_id group by course_name;

Is This Answer Correct ?    18 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nosql db?

954


When are we going to use truncate and delete?

965


What is difference between joins and union?

1101


Define tables and fields in a database

1113


What are reports usually used for?

1007


How can the performance of a trigger be improved?

1022


Why should I use postgresql?

998


How to Declare Fixed Length String Value In PL SQL

1135


what is the difference between $message and $$message? : Sql dba

981


how mysql optimizes distinct? : Sql dba

1058


What is difference sql and mysql?

966


What is sql profiler in oracle?

1070


What is sql catalog?

1000


How do you rank data in sql?

982


Can we create table inside stored procedure?

939