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 different tcl commands in sql?

624


How many functions are there in sql?

542


What is meant by <> in sql?

511


Where the sql database files are stored?

496


Can we use ddl statements in stored procedure?

699






What is duration in sql profiler trace?

557


Does sql full backup truncate logs?

533


What is sql key?

525


What are the different types of functions in sql?

515


Is pl sql and postgresql same?

574


What are all the different normalization?

564


What is query optimization in sql?

550


What are different types of triggers?

565


Why indexing is needed?

519


How do you go back in sql?

535