Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Can we enter data in a table in design view?

969


Which tcp/ip port does sql server run on? How can it be changed? : Sql dba

1002


what is row? : Sql dba

1228


what are local and global variables and their differences? : Sql dba

1072


How do I view a sql trace file?

1030


What are the different type of joins in sql?

956


What is procedure explain with example?

962


How would you convert date into julian date format?

1006


what is the use of anchoring object? what r the difference between anchoring object & enclosing object? can any one tell me all the details?

2490


When are we going to use truncate and delete?

989


what is user defined functions? : Sql dba

1035


Is primary key clustered index?

950


What is difference between sql function and stored procedure?

1007


What is a recursive join sql?

1076


What is dense_rank?

935