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

Is crud a cuss word?

971


how to use like conditions? : Sql dba

1036


What is pl sql script?

975


what is a database? : Sql dba

1097


How does postgresql compare to oracle/db2/ms sql server/informix?

980


Why are aggregate functions called so?

896


Does sqlite need a server?

992


what are the differences between char and varchar? : Sql dba

1000


Does a primary key have to be a number?

915


Can we create table in function?

907


What is the left table in sql?

911


Enlist the advantages of sql.

937


Which table is left in left join?

951


List out the acid properties and explain?

903


Can we write ddl statements in functions?

1048