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 sequences
What is the difference between nested table and varray?
What is the main difference between sql and pl/sql?
What are the various restrictions imposed on view in terms of dml?
what is dbms? : Sql dba
Is pl sql better than sql?
How to add new employee details in an employee_details table with the following details
Does varchar need length?
how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc
What is a temporal data type?
How do rank () and dense_rank () differ?
Where the sql database files are stored?
Can one improve the performance of sql*loader? : aql loader
What is interval partition?
What is where clause in sql?