Answer Posted / manoj
IN- It will return the value based on the parameter;
e.g. select * from emp where salary in ('1000','3000');
ANY-It will compare with any value that has been returned by
the parameter;
select * from emp where salary > any(select salary from emp
where deptno=10)
the salary will be compared with any value that has been
returned by the subquery.
ALL-It will compare with max/min value that has been
returned by the subquery;
select * from emp where salary > all(select salary from emp
where deptno=10)
the salary will be compared with the longest value that has
been returned by the subquery.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Where can I learn sql for free?
How to use sql*plus built-in timers?
What is nosql db?
Which join is default?
How does sql store data?
How to select all records from the table?
what is the difference between a web-garden and a web-farm? : Sql dba
how to install mysql? : Sql dba
How many aggregate functions are available there in sql?
Is sqlite free?
How do I find duplicates in the same column?
What is trigger in sql and its types?
Is json a nosql?
What is the basic form of sql query?
What is cursor explain with example?