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

4.what is deliverables?what are the things is included in the deliverables?

2 Answers  


what is meant by adhoc testing?

9 Answers   HCL, STC,


can any one post the format of tracebility martrix Plz...... Maid Id: sandhya.shyamala@yahoo.com

0 Answers  


who prepares traceability matrix in ur company either jr tester or sr tetser or test lead?

2 Answers   Accenture,


What is difference between Manual testing and Pega/BPM testing?

0 Answers   Cap Gemini,






Did anyone have any experince with stocking in equity can you please tell me how to approach the project.I am a learner.help me please.give me ur suggestions.

0 Answers   CTS, Oracle,


which fields comes under SRS?

2 Answers   Wipro,


How much time it will take for regression testing

6 Answers   AppLabs,


whats main working for tester. and developer, and prject manager.

0 Answers  


Testing methodologies and Testing techniques are the same one? Hope Black and White box testings come under test techniques. Then what will come under methodologies ?

5 Answers  


What is difference between localization testing and internalization testing.Explain with an example

5 Answers  


what is security testing? can u please set an example for it?

5 Answers  


Categories