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 / guest

select count(student_id),course_name ,student_name
from student s, course c
where s.course_id = c.course_id
group by course_id
order by student_id desc

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a schema sql?

1050


How to know the last executed procedure?

1031


Is oracle and sql same?

953


what is union? : Sql dba

962


what are the performance and scalability characteristics of mysql? : Sql dba

942


Write a sql select query that only returns each name only once from a table?

956


Does inner join return duplicate rows?

925


What are the built in functions of sql?

975


What is a native sql query?

969


Can we use ddl commands in pl sql?

1066


How to call shell script from pl sql procedure?

1172


Do foreign keys improve performance?

963


What is trigger in sql? Explain

938


What does an inner join do?

1089


Can we use ddl statements in stored procedure sql server?

964