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 is hibernate and its relation to sql?

1123


What plvcmt and plvrb does in pl/sql?

1320


Which is faster view or stored procedure?

945


How do I create a sql script?

1099


Can you load data into multiple tables at once? : aql loader

1066


what is a trigger in mysql? Define different types of trigger. : Sql dba

1069


How is use pl and sql?

1059


How to get each name only once from an employee table?

1114


What is the difference between sql and mysql?

1117


What are types of indexes in sql?

1082


What operators deal with null?

1107


Is natural join and inner join same?

926


What does trigger mean in psychology?

962


What are the different sql languages?

1035


Why do we go for stored procedures?

1057