What is the result of this query ?
SELECT * FROM EMP WHERE ROWNUM = 1
Answers were Sorted based on User's Feedback
Answer / rajesh
It gives all the details of the Employee who is in the first
row of the table .
|Is This Answer Correct ?||58 Yes||8 No|
Answer / l.l.n.reddy
it will dispaly the first record only.
|Is This Answer Correct ?||36 Yes||5 No|
Answer / kumar
THE CONDITION ROWNUM = 1 EVALUATE TRUE(i.e 1=1) HENCE
IT DISPLAY THE FIRST RECORD FROM THE EMP TABLE.
|Is This Answer Correct ?||28 Yes||3 No|
Answer / prakash
it will display first row in a table
|Is This Answer Correct ?||25 Yes||6 No|
Answer / apps
ROWNUM is generally used in >=, <=, <, >. But there is
exception, you can use it = also but only with 1 as
ROWNUM=1, it will display first record in table. If you use
ROWNUM=10…. Or any number other than 1 then it will not
display any records.
|Is This Answer Correct ?||15 Yes||0 No|
Answer / farhad alam
it will display fst one record.
|Is This Answer Correct ?||16 Yes||4 No|
Answer / ravi
Puople who don't have knowledge or don't know concept,
don't post the answers blintly. please...
I don't know why some stupid guys/girls are giving wrong
|Is This Answer Correct ?||12 Yes||5 No|
Answer / vidyasagar
This is the actual answer
SQL> select * from emp where rownum=1;
EMPNO ENAME JOB MGR HIREDATE
SAL COMM DEPTNO
--------- ---------- --------- --------- --------- ---------
123 SATYA 234
|Is This Answer Correct ?||6 Yes||0 No|
Answer / smruti
Posting an answer is a nice effort, that means you are
trying to help other people overcome the trouble ahead.
But be cautious when posting an answer in public. Posting
wrong answers can be a sin.
Please be silent if you dont know atleast. After a damn
strong and correct answer from someone called Apps why u
people don't verify with urself. Archana don't show off
SQL> SELECT * FROM EMP WHERE ROWNUM = 1;
SQL> SELECT * FROM EMP WHERE ROWNUM = 22;
no rows selected
|Is This Answer Correct ?||5 Yes||1 No|
What is the use of format trigger?
How to create user and how u attach with responsibility.
we are inserting,update and delete the data we can do simultaniously, but it will show error in updation? what to do?
What are the requests groups?
what is multi org structure?
What are different execution methods of executabls?
in procedure how to return a value
What will happen If I am not giveing the Suspense accout while defineing the Set of Books in GL?
is it possible to run the interface without using oracle apps?
diff between key and descriptive flexfield.
what is fiscalcalendar?
what is global tempory table?