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
What is use of trigger?
how to check myisam tables for errors? : Sql dba
What is a primary key example?
Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?
What does the argument [or replace] do?
How to Execute a Package in PL/SQL.?
Do triggers have restrictions on the usage of large datatypes, such as long and long raw?
Is sql pronounced sequel or sql?
What is the use of count (*) in sql?
How do I use google cloud in sql?
Why are indexes and views important to an organization?
What is procedure explain with example?
How do I enable sql encryption?
What is form and report?
What are the different parts of a package?