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 / lova raju allumalla
select count(stud_name),course_name from student s,course c
where s.course_id = c.course_id group by course_name
/
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Mention what plvcmt and plvrb does in pl/sql?
What is execution plan in sql?
What does select * from mean in sql?
what is collation? : Sql dba
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.
What is secondary key?
What is the purpose of the primary key?
What is the difference between left and left outer join?
How do I install microsoft sql?
define sql insert statement ? : Sql dba
How do I order by ascending in sql?
what are ddl statements in mysql? : Sql dba
Can a commit statement be executed as part of a trigger?
how to include numeric values in sql statements? : Sql dba
Why do we use partitions in sql?