Difference between join and a subquery?
Answer Posted / ashi
Sub query: The sub query has more than one select
statement,the inner query which executes first and then it
will be the value of the 2nd query.
EX:
select ename from emp where sal>(select avg(sal) from emp);
Joins:
When the data from more than one table in the database,then
a join condition used.Rows in the one table can be joined to
rows in the other table according ro the common values
existing in corresponding columns
EX:
select dname,ename from emp,dept where emp.deptid=dept.deptid;
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.
What is Reduced List of Values?
How do we get field detail of a table?
What are the tools for Oracle ?
Name the various constraints used in oracle?
Please explain joins in oracle?
Hi friends can u send the oracle 9i full version download link?????????????? please reply ?
State some uses of redo log files?
Difference between open_form and call_form in oracle.
WHEN CURSOR MOVES FROM ONE FORM TO ANOTHER FORM, HOW MANY TRIGGER WILL BE FIRED AND WHAT ARE THEIR SEQUENCE?
What are the most common interview questions on ETL Testing for experience?
you are a universe designer and report developer in BO, what type of information you gather from client?Briefly explain plz
What is tns service name?
what is the use of system.effective.date variable in oracle?
What do you mean by merge in oracle?