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
6 20420i have a table eno dno sal 1 10 200 2 10 150 3 10 100 4 20 75 5 20 100 i want to get sal which is less than the avg sal of thri dept. eno dno sal 2 10 150 3 10 100 4 20 75
IBM,
12 14880Write a query to find the name of employees those who have joined on Monday.(based on column hire_date)
15 36557There is a sequence with min value 100. I want to alter this sequence to min value as 101. If the table has already data in the sequence column as 100,101,102... Is it possible to do so ?
IBM,
4 9965
Does sql support programming?
How do you optimize a stored procedure in sql?
Why coalesce is used in sql?
how can we find the number of rows in a table using mysql? : Sql dba
Difference between table function and pipelined function?
How we can update the view?
Is drop table faster than truncate?
Is not equal in sql?
When are we going to use truncate and delete?
what is offset-fetch filter in tsql? : Transact sql
what is the difference between a web-garden and a web-farm? : Sql dba
What are the different types of joins in sql?
What is a schema sql?
Write a sql select query that only returns each name only once from a table?
What is normalization in sql?