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...

how can i fetch the records of 3 tables with a single select
query,without using join.

Answer Posted / kiran kumar.b

select max(sal) as sal from
(select max(sal) as sal1 from emp1
union
select max(sal) as sal2 from emp2
union
select max(sal) as sal3 from emp3)
salary order by sal desc

u can get the max sal from three tables lets try to do this

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the user interfaces of interactive lists?

975


What is locking ?

1054


What is an abap instance?

1079


How do you populate data into a multiple line field?

991


In which time constraint does the infotype records depend on the subtype ? : abap hr

1030


How to create any functions?

978


Explain how to create any functions?

1054


How many primary keys can be created for a table?

1016


What are the types of bdc s?

1043


Explain what are the different functions used in sap script? What are the parameters used in each function?

981


What is difference between dialog program and a report?

1113


In a loop of an internal table, what is the use of at first & at last statements?

1917


Type casting and error handling

1369


What are the different message types available in the abap/4 ?

973


How do you work with semi colon se[arated files in BDC ?

1887