i want to display 1 to 10 numbers using one select statement.

Answer Posted / nagesh

SELECT * FROM EMP WHERE ROWNUM<=10 ORDER BY ENO;

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nested table in pl sql?

552


What is string join?

550


Define the select into statement.

568


What is partition by in sql?

569


What do you mean by stored procedures?

545






what is a composite primary key ? : Sql dba

579


explain the difference between delete , truncate and drop commands? : Sql dba

546


Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

1722


What is the difference between python and sql?

521


What can you do with pl sql?

556


Mention what is the plv (pl/vision) package offers?

636


What is column?

548


Explain the uses of control file.

614


what are properties of a transaction? : Sql dba

559


what is a primary key? : Sql dba

552