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 / om patel
SELECT E.ENAME FROM EMP E ,DEPT D WHERE E.DEPTNO=D.DEPTNO
AND SAL BETWEEN 2000 AND 3000 AND D.DNAME='X';
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is a call statement? Explain with an example.
What are the benefits of pl/sql packages?
How many tables can a sql database have?
what is dbms? : Sql dba
What are the types of queries in sql?
Why use truncate instead of delete?
How do you change a value in sql?
what does it mean to have quoted_identifier on? What are the implications of having it off? : Sql dba
What is a unique constraint?
Can you upgrade sql express to full sql?
What is procedure explain with program?
How does postgresql compare to oracle/db2/ms sql server/informix?
How do I save a stored procedure?
What are secondary keys?
What is a temporal data type?