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 / monalisa.dalbehera
select count(s.student_id),c.cource_name
from student s,course c
where c.course_id=s.course_id
group by c.course_name;
| Is This Answer Correct ? | 48 Yes | 3 No |
Post New Answer View All Answers
How can you know that statistics should be updated?
What is sql injection vulnerability?
What is difference between procedure and trigger?
Can we connect to postgresql using sql developer?
How to start oracle sql developer?
How to pronounce postgresql?
Is sql an operating system?
What is Histogram?
How to convert comma separated string to array in pl/sql?
How do I enable sql encryption?
What is sql profiler in oracle?
Why is sharding used?
What is a ddl command?
How global cursor can be declare with dynamic trigger ?
what are set operators in sql? : Sql dba