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
How do I view a sql database?
Is sql the best database?
Why do you partition data?
What does over partition by mean in sql?
what is the difference between a having clause and a where clause? : Sql dba
Is left join inner or outer by default?
What is a stored procedure in sql with example?
What are field types?
What are the types pl/sql code blocks?
What is a primary key example?
What are the two types of exceptions.
how to get a list of all tables in a database? : Sql dba
What is coalesce sql?
What is pl sql in oracle?
Can sql function call stored procedure?