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 / ankush

it returns the number 1 same number columns as well as
union with the value 2 again with the same number of
columns the table emp have.

Is This Answer Correct ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the properties and different types of sub-queries? : Sql dba

1013


Can a composite key be null?

959


How to select all records from the table?

1115


Show how functions and procedures are called in a pl/sql block.

1098


How can you maintain the integrity of your database on instances where deleting an element in a table result in the deletion of the element(s) within another table?

1116


How much does a sql dba make? : SQL DBA

926


Can we perform dml on view?

1028


what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

1022


Explain the working of foreign key?

1044


What is a database trigger?

1050


What is the difference between a query and a report?

948


What is clause in sql?

1092


What is basic structure of pl sql?

1049


What is database sql?

1031


Can we create view in stored procedure?

943