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

Can we use rowid as primary key?

736


What is procedure and function?

682


Why does sql need a server?

760


Where is sql database stored?

687


What is the use of <> sql?

738






describe transaction-safe table types in mysql : sql dba

701


Is join same as left join?

753


What are the set operators in sql?

776


What is sql not null constraint?

775


Can sql function call stored procedure?

738


What are primary key and foreign key and how they work?

744


What is the usage of nvl function?

770


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

748


How to display Row Number with Records in Oracle SQL Plus?

771


Why having clause is used in sql?

726