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 are rollup and cube in t-sql? : Transact sql

1047


what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba

899


What are the parameter modes supported by pl/sql?

1019


Explain the difference between drop and truncate commands in sql?

962


What is sql constant?

943


How to use distinct and count in sql query? Explain

959


Which one is better sql or oracle?

901


What is keys and its types?

1019


What is primary key and foreign key with example?

872


What are the advantages of stored procedure?

945


What is string data type in sql?

1049


What is sql exception?

913


How do you pronounce sql?

954


What is cursor explain with example?

921


how many sql dml commands are supported by 'mysql'? : Sql dba

1055