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 / manasa
SELECT e.name,d.dept from employee e INNERJOIN dept d ON e.deptid=d.deptid WHERE e.salary between 2000 AND 3000
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Mention what plvcmt and plvrb does in pl/sql?
What is the purpose of primary key?
Differences between Oracle 9i and 10g (Probably in terms of SQL and PL/SQL)?
How to select the Nth maximum salary from Table Emp in Oracle SQL Plus ?
What are inner and outer joins examples of both?
What is rowtype?
What is restrict in sql?
What is the usage of when clause in trigger?
Can we perform dml on view?
What is anonymous block in sql?
Is sql low level language?
Can we insert data into view?
How to read xml file in oracle pl sql?
What is the difference between truncate and drop statements?
What is not equal in sql?