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 are stored procedures in mysql?

1015


What is sql table?

965


What is a join?

1059


What is parameter substitution in sql?

1025


What is difference between rank () row_number () and dense_rank () in sql?

1099


Explain dml and ddl?

986


What are the two types of exceptions in pl/sql?

1049


What are the types of records?

988


How is a process of pl/sql compiled?

1155


What are aggregate and scalar functions?

1017


What is the difference between null value, zero, and blank space?

1199


What is procedure and function?

976


Which are the different case manipulation functions in sql?

1020


how many triggers are allowed in mysql table? : Sql dba

1062


How do I audit the sql sent to the server?

1003