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
Which software is used for pl sql programming?
Does oracle use sql?
what is foreign key? : Sql dba
Why having clause is used in sql?
What type of database is cloud sql?
what is the command used to fetch first 5 characters of the string? : Sql dba
What is update query?
What is a parameter query?
What is nvl?
What is a schema? How is it useful in sql servers?
Why are indexes and views important to an organization?
What are the advantages of pl sql over sql?
How to set up sql*plus output format in oracle?
What is difference between stored function and application function?
What is the usage of nvl function?