Delete the emps whose salaries are lowest sals of their own
dept.
Answer Posted / nagendra
delete from emp where sal in (select min(sal) from emp group
by deptno)
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
What is out parameter used for eventhough return statement can also be used in pl/sql?
how to drop an existing index in mysql? : 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.
Is merge a dml statement?
what are the different tables present in mysql, which type of table is generated when we are creating a table in the following syntax: create table employee (eno int(2),ename varchar(10)) ? : Sql dba
What is pivot in sql?
How do I write a cron which will run a sql query and mail the results to agroup?
What is raw datatype in sql?
What are sql injection vulnerabilities?
What has stored procedures in sql and how we can use it?
What are predefined functions in sql?
What are the types of keys?
How do you write a subquery?
what are aggregate and scalar functions? : Sql dba
What is audit logout in sql profiler?