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 / pradip d

select count(student_name),course_name from student,course
where course.course_id=student.course_id group by course_name;

Is This Answer Correct ?    18 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is 'mysqldump'? : Sql dba

1109


What is trigger in sql? Explain

997


Does view contain data?

1037


What is a variable in sql?

1002


What are the types of subqueries?

1055


How many databases can sql express handle?

987


What is the use of sqlerrd 3?

944


What is the difference between rollback and rollback to statements?

1060


What program will open a mdb file?

965


Why do we use subquery?

1015


Name the operator which is used in the query for pattern matching?

955


What is basic structure of pl sql?

1072


how can we know the number of days between two given dates using mysql? : Sql dba

1048


What is a sql trace file?

1031


where are cookies actually stored on the hard disk? : Sql dba

1030