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
What are data types in pl sql?
Is subquery faster than join?
what is data integrity? : Sql dba
What is mutating error in pl sql?
what are the different functions in sorting an array? : Sql dba
in oracle 10g sw after compiling procedure how to pass parameter values ,if we (v_empid out number)how to give empid after successful compilation program.This site exact suitable for 10g with respect to question & answer same format , im trying sql browser & sql command prompt using exec procedure name & respective parameters.
What do you mean by table in sql?
what are the properties and different types of sub-queries? : Sql dba
How many types of functions are there in sql?
What are the different types of dbmss?
What does the sign mean in sql?
What are conditional predicates?
What are the types of dbms?
Can we join more than 2 tables in sql?
What is the unique index?