How to display First 4 rows From Database Table?

Answers were Sorted based on User's Feedback



How to display First 4 rows From Database Table?..

Answer / rathi.sql

select * from employees
where rownum<=4

Is This Answer Correct ?    24 Yes 3 No

How to display First 4 rows From Database Table?..

Answer / rathi.sql

select * from employees
where rownum<=4

Is This Answer Correct ?    16 Yes 2 No

How to display First 4 rows From Database Table?..

Answer / b v n kiran kumar

SELECT * FROM EMP
WHERE ROWNUM<=4;

Is This Answer Correct ?    3 Yes 2 No

How to display First 4 rows From Database Table?..

Answer / shilpa

select top 4 * from table for sql server

Is This Answer Correct ?    0 Yes 0 No

How to display First 4 rows From Database Table?..

Answer / testing

you can get the first four rows using this query

select * from emp limit 4

Is This Answer Correct ?    2 Yes 5 No

How to display First 4 rows From Database Table?..

Answer / naina singh

select top 4 * from table

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More Oracle General Interview Questions

HI, Please let me know the syllabus for Oracle OCA and OCP Certification

0 Answers  


How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?

0 Answers  


what is foreign key?

5 Answers  


How to list all tables in your schema?

0 Answers  


How to select some columns from a table in oracle?

0 Answers  






can any one help me with import/export options in oracle............

1 Answers  


There are three tables : E : EID,ENAME D : DID,DNAME empdept : eid, did select the employees who doesn't belong to any dep

4 Answers   Microsoft,


What is a dynamic performance view in oracle?

0 Answers  


What is the difference between I and G in Oracle?

0 Answers   MCN Solutions,


How to call a stored procedure inside a trigger? Give an example.

1 Answers   Exilant,


What is a system tablespace and when it is created?

0 Answers  


3. Adapt your query in (2) above so that only post codes with more than twenty orders are displayed.

0 Answers   Wipro,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)