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 / lova raju allumalla
select count(stud_name),course_name from student s,course c
where s.course_id = c.course_id group by course_name
/
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Can I join the same table twice?
what is the difference between join and union? : Sql dba
How much does sqlite cost?
Can you inner join the same table?
Is postgresql a nosql database?
What are the sql versions?
what are date and time intervals? : Sql dba
How do you write a subquery?
what is the command used to fetch first 5 characters of the string? : Sql dba
What is oracle and pl sql?
What is an index? What are the types of indexes? How many clustered indexes can be created on a table?
explain mysql aggregate functions. : Sql dba
What is the most common sql injection tool?
What is a behavioral trigger?
What are the types of join and explain each?