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 integrity in sql?

1019


What are predefined functions in sql?

1022


how do you know the version of your mysql server? : Sql dba

986


What is the difference between function, procedure and package in pl/sql?

1219


What is a ddl command?

1065


what are the types of subquery? : Sql dba

1087


How to take user input in pl sql?

1145


What is the usage of distinct keyword?

1047


What is normalization in a database?

1142


What is clause in sql?

1092


what is top in tsql? : Transact sql

1086


What is data control language (dcl)?

1113


how can we encrypt and decrypt a data present in a mysql table using mysql? : Sql dba

1169


How are functions and procedures called in PL/SQL?

1195


Can we insert delete data in view?

935