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 / ragunath

select name from Emp where Sal between 2000 and 3000

Is This Answer Correct ?    4 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the three pl sql block types?

565


Define tables and fields in a database

639


how can you see all indexes defined for a table? : Sql dba

535


What is the difference between clustered and non-clustered index in sql?

514


What does count (*) mean in sql?

1080






What are few of the schema objects that are created using PL/SQL?

553


How do you know if a relationship is 2nf?

514


what is the difference between primary key and unique key? : Sql dba

518


How many types of normalization are there?

485


Define select, insert, create, delete, update, drop keywords

592


What are the string functions in sql?

523


What is the usage of distinct keyword?

625


How do I know if I have sql express or standard?

591


What is the maximum database size for sql express?

524


What is t-sql? : Transact sql

530