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 data types of internal tables?

1035


What is client in the sap system? : sap abap hr

1035


Give 3 scenario of reporting due to which you require reporting help of ABAP consultant?

2047


What are the differences between transparent tables, pooled tables & cluster tables? : abap data dictionary

1157


What is the max. No. Of structures that can be included in a table or structure? : abap data dictionary

928


What is the difference between semi-monthly and Bi-weekly payroll area

3411


What do you mean by transparent tables in sap abap? : abap data dictionary

984


What is asynchronous and synchronous update?

975


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

1040


Does sap handle multiple languages?

964


What will happen when we use single buffered selected?

1008


What work you have done in HR module

1305


How many lists can a program can produce?

1017


Name the special commands of list?

1084


How do you read files from the application server ? : abap bdc

1086