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

Select Name
From Emp e inner join Dpt d
on d.dptid=e.dptid
Where sal>=2000 And sal<=3000
And dptname='x'

Is This Answer Correct ?    18 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why we use triggers in mysql?

1041


Which join condition can be specified using on clause?

1015


How to Declare Fixed Length String Value In PL SQL

1207


What is sql procedures and functions?

1074


What is procedure function?

1126


What is vector point function?

1097


how to enter binary numbers in sql statements? : Sql dba

1013


How do I filter in sql profiler?

1055


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

2553


Why trigger is used in sql?

1017


what are the differences between char and varchar? : Sql dba

1121


What is the best free sql database?

1104


How many joins in sql?

1059


What is where clause in sql?

1088


What is t-sql? : Transact sql

1041