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
What are sql built in functions?
What is foreign key sql?
what is the difference between join and union? : Sql dba
What is lexical units in pl sql?
Can we debug stored procedure?
how to decrement dates by 1 in mysql? : Sql dba
What is the use of non clustered index?
What are basic techniques of indexing?
how to get a list of columns in an existing table? : Sql dba
Give the order of sql select?
how many ways to get the current time? : Sql dba
Can ddl statements be used in pl/sql?
What is sql keyword?
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 the difference between microsoft sql and mysql?