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

Which sql most popular?

548


The select into statement is most often used to create backup copies of tables or for archiving records?

559


Explain sql data types?

623


What is varchar sql?

617


How do I run a program in pl sql?

497






How can one get sql*loader to commit only at the end of the load file? : aql loader

563


How to test for null values?

602


Can we rename a column in the output of sql query?

539


What are analytical functions in sql?

537


Is sql sequential or random?

536


can sql servers linked to other servers like oracle? : Sql dba

550


What is mdf ldf and ndf?

558


Is hadoop a nosql?

571


What is Difference Between Unique and Primary Key Constraints?

604


Why we use stored procedure instead of query?

533