write a query to find out the no. of employees whose age is
less than 25 and max of salary for the employees belonging
to a particular department is less than 20000
Answer Posted / priya
select dept,count(emp) from employee where age <25 and max
(sal) <20000 group by dept.
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Can we call procedure in select statement?
Is delete faster than truncate?
What is a constraint? Tell me about its various levels.
What are the types of views in sql?
Why do we use partitions in sql?
Explain two easy sql optimizations.
What are the indexing methods?
Why procedure is used in sql?
How to get unique records from a table?
What are character functions in sql?
Does sql support programming?
Is pl sql and postgresql same?
How do you truncate?
What is t sql used for?
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.