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

What is the difference between alter trigger and drop trigger statements?

1110


what is a record in a database ? : Sql dba

1064


what are the different index configurations a table can have? : Sql dba

997


what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba

1131


How to fetch values from testtable1 that are not in testtable2 without using not keyword?

1224


What is asqueryable?

974


Is trigger a stored procedure?

935


How to disable a trigger name update_salary?

1266


Explain the purpose of %type and %rowtype data types with the example?

995


How do I install sql?

1002


What is sql rowcount?

1023


What is the non-clustered index in sql?

1064


Can we create clustered index without primary key?

965


How is data stored on a disk?

1037


What is pls_integer in pl sql?

1106