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 to get a list of indexes of an existing table? : Sql dba

1005


What is the max nvarchar size?

1028


what happens if you no create privilege in a database? : Sql dba

1047


If the application is running very slow? At what points you need to go about the database in order to improve the performance?

1050


how can we repair a mysql table? : Sql dba

1040


Explain what is a column in a table?

1157


Why do we use joins?

1097


Is it possible to include an insert statement on the same table to which the trigger is assigned?

1061


What is a sql profiler?

1063


How you improve the performance of sql*loader? : aql loader

1063


What is a clob in sql?

1063


What is the difference between nested table and varray?

1050


Does a user_objects view have an entry for a trigger?

1049


what is the difference between cluster and non cluster index? : Sql dba

1077


What is anonymous block in sql?

1172