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
what are null values? : Sql dba
What is sql catalog?
What is secondary key?
How do I write a cron which will run a sql query and mail the results to agroup?
Why should I use postgresql?
What are the parameter modes supported by pl/sql?
Explain cursor types?
What is the best sql course?
What if we write return in procedure?
What is data modelling in sql?
Can a table contain multiple foreign key’s?
explain what is mysql? : Sql dba
How do I save a stored procedure?
Is sql dba a good career? : SQL DBA
What are the types of keys?