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

What do executive leaders, champions, Master Black belt, green belts and black belts mean?

0 Answers  


someone tell me the difference between volume testing, stress testing and load testing?

2 Answers  


what are the advantages and disadvantages of waterfall model?

23 Answers   MBT,


What is a bug triage?

0 Answers  


why nds?

2 Answers   NDS, UEC,






What is the difference b/w test case and scenario?

4 Answers  


Unit Testing can be done by using Nunit?

0 Answers   QuestPond,


What is the diff bet test scenario and test case.

3 Answers  


The primary goal of comparing a user manual with the actual behavior of the running program during system testing is to ?? A.Find bugs in the program B.Check the technical accuracy of the document C.Ensure the ease of use of the document D.Ensure that the program is the latest version

1 Answers  


This is scenario based question atht I faced in an interview-"There are 2 systems with SIMILAR H/W and S/W configurations. I opened my gmail account from 1st system and I could open my gmail account successfully & able to operate it without any problem. But when i try to open my SAME gmail account from 2nd PC, I can't access it at all. So what could be possible defect/problem?" (Note that the email ID and password used is valid and correct)

4 Answers   SoftTech,


What’s the difference between verification and validation in testing?

0 Answers  


what is difference between smoke test and exploratory test.?

1 Answers  


Categories