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
Can we rollback after truncate?
How do I order columns in sql?
How does rowid help in running a query faster?
what are myisam tables? : Sql dba
Explain what is table in a database?
Explain the difference between sql and mysql.
What is the maximum size of sqlite database?
What is a data definition language?
Is sql developer case sensitive?
What do you understand by pl/sql records?
How do you define a foreign key?
What is a .db file?
how to use regular expression in pattern match conditions? : Sql dba
Explain about various levels of constraint.
Can we join two tables without common column?