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...

what will be the output:
select 1 from emp
union all
select 2 from emp;

Answer Posted / m.m

1 will be printed as many times as the number of rows in
emp table
followed by 2 begin printed as many times as the number of
rows in emp table
OP:
1
----------
1
1
1
1
1
1
1
1
1
1
1

1
----------
1
1
1
2
2
2
2
2
2
2
2

1
----------
2
2
2
2
2
2

28 rows selected.

Is This Answer Correct ?    22 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does execute immediate commit?

1291


What is thread join () in threading?

1057


What is a left inner join?

1071


what is an execution plan? When would you use it? How would you view the execution plan? : Sql dba

1019


What is count * in sql?

1040


What does over partition by mean in sql?

1045


What is the purpose of primary key?

1072


how to see the create table statement of an existing table? : Sql dba

1060


Which is better join or inner query?

1127


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

1174


Is sql a dbms?

1063


What are the types of index in sql?

1123


how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba

1245


What are the ddl commands?

1055


what is auto increment? : Sql dba

1051