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 a ddl command?
What does plv msg allows you to do?
What is oracle sql developer?
Explain the difference between rename and alias?
What is sql in oracle?
What is difference between left and right outer join?
What is an exception in PL/SQL? What are the two types of exceptions?
How do I truncate a sql log file?
What are sql data types?
How is data stored in sql?
Explain what is sql?
What is crud sql?
What are the types of records?
What are the two types of periodical indexes?
Is pl sql and postgresql same?