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 / dinakar
select course_id,count(*) from student where course_id in
(select course_id From course)
GROUP BY COURSE_ID
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
How do I create a sql script?
What is the difference between the conventional and direct path loader? : aql loader
what are the limitations of identity column? : Transact sql
what is 'mysqlimport'? : Sql dba
What is a design view?
What is the use of %rowtype?
If a cursor is open, how can we find in a pl/sql block?
What is sql constant?
What is meaning of <> in sql?
What is difference between mysql and postgresql?
What are three advantages to using sql?
Can we insert data in view?
What is a table?
explain advantages of myisam over innodb? : Sql dba
What is crud stand for?