select 10 from dual; y its showing all the rows with 10?

Answer Posted / honey

1.
As we know that Implicitly Cursor 'SQL' is opened.
when it is pin pointing the 1st row in the dual, cursor
found that one record exists.
2.
since there are no conditions (i.e., where,group by,..),
directly 'select' clause will be executed.
3.
Internally Oracle identifies numbers, so 10 number will be
displayed.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a pl/sql block?

759


What do we need to check in database testing?

727


What does trigger mean in slang?

736


Is sql database free?

702


How to start the command-line sql*plus?

746






What is database white box testing and black box testing?

856


Is sql easier than java?

734


Can we use ddl commands in pl sql?

766


How do I remove all records from a table?

771


What are stored procedures in mysql?

766


What is prepared statement in sql?

750


What does over partition by mean in sql?

711


How do sql triggers work?

748


what is the syntax used for partition in tsql? : Transact sql

731


What is a unique key?

777