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
how to include character strings in sql statements? : Sql dba
Can we commit in trigger?
What is the usage of nvl function?
Is left join inner or outer by default?
Mention what does plvtab enables you to do when you showthe contents of pl/sql tables?
Which data type is a composite type?
What is not equal in sql?
How to combine two stored procedures in sql?
What are operators available in sql?
What does 0 mean in sql?
Can there be 2 primary keys in a table?
what is a view? : Sql dba
Explain mutating table error.
Does truncate release storage space?
Can you upgrade sql express to full sql?