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

Answers were Sorted based on User's Feedback



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

Answer / asha

I Agree with Satya K
If the Table contanins the columns as
EMPLOYEE table
EmpNo Ename Salary
101 Hello 1000
102 hi 2000
103 dear 3000

When you execute the above query it gives only the
structure of the table...with the blank rows

Ans : EmpNO Ename Salary
is displayed

Is This Answer Correct ?    5 Yes 0 No

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

Answer / codecracker

No rows selected.

Is This Answer Correct ?    3 Yes 1 No

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

Answer / satya

Hi,

For the Query "No Records are displayed." because the
condition is false...The table displays ths structure..with
out the records if the table contains records also..


Regards
Satya.K

Is This Answer Correct ?    3 Yes 1 No

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

Answer / jana

here only the structure of the table is available and what
ever the data is there in the table is not copied into the
other table.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / ajay

Just display only empty table structure

Is This Answer Correct ?    0 Yes 0 No

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

Answer / qaprofessional

This query would copy the structure, when the query is like
select into abc from xyz where 1=2 would result in the
structure of xyz getting copied to abc.

This query would return no values

Is This Answer Correct ?    0 Yes 0 No

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

Answer / rajendra

hai poonam i am rajendra

if you execute query like
selet * from employee where 1=2

here the where condition is meaningless

but you have selected all columns of data from table

it just displays all column names of table without data.

Not only where 1=2 for nay meaningless condition.

if you have still any doubt plz mail me i can send you
answers.

ok byeeeee

Rajendra Prasad Reddy
Mobile:+91-9885162742
Hyderabad.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Manual Testing Interview Questions

difference between 2 tier and 3tier?and what is the defination of tier?

1 Answers   Ybrant Technologies,


If u have to test the web page application and have to validate the Look & Feel of the application then how will u test it?

1 Answers   GL Noble Denton,


Differentiate Test strategy and Test case?

1 Answers  


Differentiate test bed and test environment?

0 Answers   Amdocs,


What is Desktop Testing?

2 Answers   TCS,






What is checkpoint? How can you handle the checkpoints?

0 Answers   Value Labs,


Any body can tell what are the contents RTM(Requirements Tracebility Matrix)

2 Answers  


can you please tell me what is test script ..with example what is the difference between test script and test cases

3 Answers  


risk driven testing

1 Answers  


What is mean by Open Source tools?

1 Answers  


1.what si the out come of testing.?

5 Answers  


If I want to do a version testing then how can I do it? Is there any difference between 1.0 & 1.0.0.0 version?

1 Answers  


Categories