how to retrieve the top 3 salaries of the table using rownum
Answers were Sorted based on User's Feedback
Answer / vivek dubey
select salary_column from salary_table
where rownum<4
order by salary_column desc
| Is This Answer Correct ? | 24 Yes | 42 No |
How do I access sql anywhere database?
SELECT category, type, AVG(price) FROM products GROUP BY category, type ORDER BY 1, 2 If there are three distinct categories in the "products" table, and each one has five different types, how many rows are returned by the query above? 1. 1 row 2. 3 rows 3. 5 rows 4. 8 rows 5. 15 rows
what is hash join
define join and explain different type of joins? : Sql dba
What is left join in postgresql?
Why do we need a foreign key?
Write the sql query using dual table for below output? 1 L R --- --- ---- 1 1 1 1 2 1 1 3 1 1 1 2 1 2 2 1 3 2 1 1 3 1 2 3 1 3 3 Write a query using only Dual table with out writing any pl/sql program.
What is difference between function and trigger?
what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba
Why cannot I use bind variables in ddl/scl statements in dynamic sql?
What are stored procedures used for?
Give me some examples of predefined exceptions.
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)