determine the minimum salary of the employee and his details
who join on the same date
Answers were Sorted based on User's Feedback
Answer / guest
do not quite understand the question -- mininum sal of the
employees who have the same join dates (partition by
hiredates), or the one employee with min sal.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ns
select min(salary) from (select salary from employees where
hire_date = '21-JUN-99');
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / naresh
select min(sal) from (select sal from emp e1,emp e2 having
e1.hiredate=e2.hiredate);
| Is This Answer Correct ? | 1 Yes | 3 No |
Why is it better to use an Integrity Constraint to validate data ?
What is Database testing and What are ways of writing test cases for database testing?
How to disconnect the user connection?
How can we tune a oracle database if log file sync issue comes
What is end users in dbms?
Is declare cursor executable?
What is the difference between a delete command and truncate command?
What are the types of database users?
With DTS packaging I can store tables in Excel and convert them back to SQL. But once I copied tables to Excel I want to modify some info. How you do that without editing the Excel file?
What are the basic elements of Base configuration of an oracle Database ?
What are the different stages in 'data warehousing'?
Explain what are super servers?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)