Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / raghuramu

select rownum from emp
where rownum<=10;

Is This Answer Correct ?    13 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.

7347


What is the difference between microsoft access and sql?

1023


What is a temporal table?

930


Why partition by is used in sql?

1038


How can I get the number of records affected by a stored procedure?

1065


How to order siblings in oracle hierarchy queries?

1047


What is a null value?

1143


What is a temporal data type?

1052


What is sql comments?

1074


Can cursors be part of a trigger body?

1641


How many sql core licenses do I need?

944


What are the methods of filing?

935


Why do we use set serveroutput on?

965


How to pipe multiline string to isql?

1005


Write a sql query to find the names of employees that begin with ‘a’?

1014