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 will be the output for the below Query
Select 'High' from dual where null = null;

Answers were Sorted based on User's Feedback



What will be the output for the below Query Select 'High' from dual where null = null;..

Answer / shijo

The Answer will always be null, since you never can equate a
NULL to another NULL. if the query was "Select 'High' from
dual where null IS null;" The answer would have been "High"

Is This Answer Correct ?    61 Yes 19 No

What will be the output for the below Query Select 'High' from dual where null = null;..

Answer / binita

No rows selected

Is This Answer Correct ?    23 Yes 4 No

What will be the output for the below Query Select 'High' from dual where null = null;..

Answer / abhishek6555

The answer will be no rows selected as null = null will be
false condition and the where condition will become false.

Is This Answer Correct ?    14 Yes 7 No

What will be the output for the below Query Select 'High' from dual where null = null;..

Answer / amedela chandra sekhar

The correct answer is

SQL> Select 'High' from dual where null = null;

no rows selected





Chandu
chandumba2005@gmai.com

Is This Answer Correct ?    9 Yes 5 No

What will be the output for the below Query Select 'High' from dual where null = null;..

Answer / kart

since the query is syntaxically correct
the output will be

no rows selected;

Is This Answer Correct ?    3 Yes 3 No

What will be the output for the below Query Select 'High' from dual where null = null;..

Answer / ashok

no rows selected

Is This Answer Correct ?    0 Yes 0 No

What will be the output for the below Query Select 'High' from dual where null = null;..

Answer / vijay repe

Query will give o/p as 'High' if condition u put as null is
null insteat of null = null.

It considers as false where condition same as 1=2;

Is This Answer Correct ?    0 Yes 0 No

What will be the output for the below Query Select 'High' from dual where null = null;..

Answer / sri

two nulls are not equal
so the answer is no rows selected.

Is This Answer Correct ?    0 Yes 0 No

What will be the output for the below Query Select 'High' from dual where null = null;..

Answer / prashant yadav

No row select

Is This Answer Correct ?    2 Yes 3 No

What will be the output for the below Query Select 'High' from dual where null = null;..

Answer / zia

Syntax is correct, but result will show only column heading without data as 'HIGH'.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More SQL PLSQL Interview Questions

what is the difference between cluster and non cluster index? : Sql dba

0 Answers  


What is the difference between sql and t sql?

0 Answers  


How do I access sql anywhere database?

0 Answers  


how to get @@error and @@rowcount at the same time? : Sql dba

0 Answers  


Why procedure is used in sql?

0 Answers  


How many types of literals are available in pl sql?

0 Answers  


Why do we use triggers?

0 Answers  


SELECT category, type, AVG(price) FROM products GROUP BY category, type ORDER BY 1, 2 If there are three distinct categories in the "products" table, and each one has five different types, how many rows are returned by the query above? 1. 1 row 2. 3 rows 3. 5 rows 4. 8 rows 5. 15 rows

3 Answers  


what are numeric data types? : Sql dba

0 Answers  


What is duration in sql profiler trace?

0 Answers  


How toimport .dmp file in lower version of oracle from higher version ?

4 Answers   TCS,


What are few of the schema objects that are created using PL/SQL?

0 Answers  


Categories