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
What is difference between table and view?
What type of database is cloud sql?
Which is faster view or stored procedure?
What is the use of index in hive?
How to order siblings in oracle hierarchy queries?
What is user defined functions?
What is cursor and its types?
What is foreign key in sql with example?
What are predefined functions in sql?
What are the types of dbms?
What is raw datatype in sql?
Define tables and fields in a database
What does stand for in sql?
What are the various levels of constraints?
What is rownum and rowid?