Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 is test case of dustbin ?

5 Answers   Campus Interview, eXtensible IT Solutions, Hewitt, TCS,


Hi Friends i have created a Community for Software Testers in Orkut with name Bug's Join in the community. you can post any type of questions related to sofware Testing in that community. Join in Bug's -- Vinodh Anandhan - vinodhanandhan@gmail.com

1 Answers  


Please tell me difference btn Version & Reversion . Is there any difference btn them or both have same meaning.

3 Answers   Wipro,


why RUPis important or what are all the advances in RUP?

1 Answers  


what is review?

3 Answers  


Assume you are handling multiple projects and the scheduled were clashing how would you mange about this

5 Answers   Cap Gemini,


Tell me your views in this project?

2 Answers   Wipro,


What is deployment testing ? How it is performed ?

6 Answers  


Suppose when you click on message icon in your mobile phone , if it is giving a message "Error,Message cannot be opened", Wha will u do? how do you rise a defect? /

2 Answers  


can som1 can tell me that can two or more tester can be given the same project for testing such as unit, regression,UIT,retesting. suppose the project has 10 modules so can all the tester will be asine to write the test cases for same or for differt modules? and in one project how many testers of the same level can participate? plz answer it fast. txs in advance and in which phase we will do the retesting in stlc

1 Answers  


what are reviews in sdlc?

2 Answers   Semantic Space,


what is test plan and what it consists?

15 Answers   AndPlus, Forum, MBT, TCS,


Categories