what is the output of this query selet * from employee
where 1=2 ??

Answer Posted / julien

indeed it will return o rows, but the goal behind is to
create a new table t2 as select * from t1 where 1=2, where
just the structure of table t1 will be copied without
copying data from table t1.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is nosql faster than sql?

534


What is posting?

597


How many types of index are there?

541


how are mysql timestamps seen to a user? : Sql dba

556


What is sql keyword?

550






What is the difference between in and between in sql?

571


How do you drop a trigger?

535


Which one is better sql or oracle?

491


how to get a list of columns in an existing table? : Sql dba

536


How can we implement rollback or commit statement in a trigger?

571


What is dense_rank in sql?

535


What is vector point function?

560


Is sql scripting language?

519


How do I make my sql query run faster?

461


what is commit? : Sql dba

612