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 / selvaraj v , anna university

SELECT * FROM EMP E,DEPTS D WHERE E.DEPT_ID=D.DEPT_ID AND
E.SALARY BETWEEN 2000 AND 3000 ORDER BY EMP_NO;

Is This Answer Correct ?    14 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are pl/sql packages?

1070


how many ways we can we find the current date using mysql? : Sql dba

1061


Can we call a function containing dml statements in a select query?

945


How do I count records in sql?

967


How do you declare a constant?

930


What is sqlite format?

1143


What is varchar sql?

1090


How to get list of all tables from a database?

1129


What are sql functions? Describe in brief different types of sql functions?

1055


What is a field in a database?

1030


Is sql database free?

950


Do stored procedures prevent sql injection?

940


how to calculate the difference between two dates? : Sql dba

1023


The select into statement is most often used to create backup copies of tables or for archiving records?

1033


how to escape special characters in sql statements? : Sql dba

1000