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 / iamanocp
select c.course_id, count(s.student_id)
from student s, course c
where s.course_id = c.course_id
group by c.course_id;
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is meant by <> in sql?
Is sql open source?
Is pl sql and postgresql same?
Why is the cursor important?
What are instead of triggers?
Does sap use sql?
what is unique key constraint? : Sql dba
What is clustered index in sql?
Explain the the update statement in sql?
What is out parameter used for eventhough return statement can also be used in pl/sql?
Why is pl sql used?
How delete all data from table in sql?
Explain mutating table error.
how to run 'mysql' commands from a batch file? : Sql dba
What is a database? Explain