suppose I have two table one Emp and other is dpt.
Emp table has a field ,dept id,name ,sal and dpt table has a
field dept id,dept name.
Now I want to find out the emplyee list whose sal is between
2000-3000 from dept x.
Answer Posted / selvaraj v , anna university
SELECT * FROM EMP E,DEPTS D WHERE E.DEPT_ID=D.DEPT_ID AND
E.SALARY BETWEEN 2000 AND 3000 ORDER BY EMP_NO;
| Is This Answer Correct ? | 14 Yes | 4 No |
Post New Answer View All Answers
what are different types of keys in sql?
Is left join faster than inner join?
Explain architecture of sql server notification services?
What is dynamic query?
Why do we use triggers?
How do you go back in sql?
What is a design view?
How can you save or place your msg in a table?
What is the use of non clustered index?
Is pl sql better than sql?
Who developed sql?
How to use transactions efficiently : transact sql
How to return an array from java to pl/sql?
How to fetch alternate records from a table?
What is record in pl sql?