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 is sql profiling in oracle?

551


What does select count (*) mean in sql?

554


how tsql statements can be written and submitted to the database engine? : Transact sql

538


Can I copy :old and :new pseudo-records in/to an oracle stored procedure?

666


What is a system versioned table?

538






How do you declare a variable in pl sql?

535


What is coalesce sql?

518


1) Synonyms 2) Co-related Subquery 3) Different Jobs in Plsql 4) Explain Plan 5) Wrap 6) Query Optimization Technique 7) Bulk Collect 8) Types of index 9) IF primary key is created then the index created ? 10) Foreign Key 11) Exception Handling 12) Difference Between Delete and Trunc 13) Procedure Overloading 14) Grant Revoke 15) Procedure Argument types. 16) Functions. 17) Joins

1156


What is ttitle and btitle?

576


explain primary keys and auto increment fields in mysql : sql dba

535


What is the difference between null value, zero, and blank space?

556


Does user triggers have entry for trigger with compilation errors?

602


what is sql? : Sql dba

557


Name the operator which is used in the query for pattern matching?

507


What is replication id?

524