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

Answer Posted / srikanth

select rownum from user_objects where rownum <= 10 order by
rownum ASC

Is This Answer Correct ?    12 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql scripting?

563


Can a varchar be a primary key?

538


What is execute immediate?

549


What is record in pl sql?

596


What is indexing oracle sql?

566






What are the different set operators available in sql?

566


How would you pass hints to the sql processor?

532


What is on delete restrict?

544


Why indexing is needed?

519


Why is there a need for sqlcode and sqlerrm variables?

588


how to delete duplicate rows from a join tables(I have three tables on that join) how do you know which join is need to be used? The select statement I have is: SELECT gc_skill_type.skill_type, gc_area_tec.area, gc_technology.technology, gc_technology.id_technology, gc_area_tec.id_area_tec FROM gc_skill_type, gc_area_tec, gc_technology WHERE gc_area_tec.id_skill_type (+) = gc_skill_type.id_skill_type AND gc_technology.id_area_tec (+) = gc_area_tec.id_area_tec order by gc_skill_type.skill_type asc, gc_area_tec.area asc, gc_technology.technology asc

3244


what is blob? : Sql dba

564


Write the command to remove all players named sachin from the players table.

743


What is sql server and ase?

543


Can there be more than one function with a similar name in a pl/sql block?

550