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 / guest
select count(student_id),course_name ,student_name
from student s, course c
where s.course_id = c.course_id
group by course_id
order by student_id desc
Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Why is sharding used?
1) Synonyms 2) Co-related Subquery 3) Different Jobs in Plsql 4) Explain Plan 5) Wrap 6) Query Optimization Technique 7) Bulk Collect 8) Types of index 9) IF primary key is created then the index created ? 10) Foreign Key 11) Exception Handling 12) Difference Between Delete and Trunc 13) Procedure Overloading 14) Grant Revoke 15) Procedure Argument types. 16) Functions. 17) Joins
How do you delete duplicates in sql query using rowid?
What is mutating error in pl sql?
What is the file extension for sql database?
What is a join query?
Why is a primary key important?
What is a sql*loader control file?
Can we insert data in view?
What is before and after trigger?
Can we insert in sql function?
What is a left inner join?
Write a sql query to find the names of employees that begin with ‘a’?
what is sql? : Sql dba
Is the primary key an index?