Write a query to get last 10 records from the table.
Answers were Sorted based on User's Feedback
Answer / hussain
select * from emp minus select * from emp where rownum<=
(select count(*)-10 from emp);
| Is This Answer Correct ? | 0 Yes | 3 No |
SELECT CNUM,FNAME, DEPTNO
FROM COMPANY
WHERE CNUM <= 10;
| Is This Answer Correct ? | 3 Yes | 12 No |
What is rank function in sql?
how to create object in plsql
What is compound trigger?
What is snowflake sql?
How do I save a stored procedure?
Can we write create command in the plsql block?if possible how?
Is sql injection illegal?
What is an Exception ? What are types of Exception ?
1. Which is an aggregate function? a. Union b. like c. max d. Rank
Does inner join remove duplicates?
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?
Explain Connect by Prior?
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)