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

what is bcp? When is it used?

1115


what is a field in a database ? : Sql dba

1063


Explain scalar functions in sql?

1072


Can instead of triggers be used to fire once for each statement on a view?

962


What will you get by the cursor attribute sql%found?

965


How do you write a subquery?

1031


What is the difference between functions, procedures, and packages in pl/sql?

1054


What is sql table?

976


Which is faster count (*) or count 1?

1036


what are rollup and cube in t-sql? : Transact sql

1102


Is sql a case sensitive language?

950


explain about mysql and its features. : Sql dba

1019


Can procedure in package be overloaded?

1086


What is trigger in sql?

1104


Which is better join or inner query?

1052