110 pts.
 Oracle 10g Query
i made two tables in oralce10g,income and expense they have no relation with each other plz tell me a query how can i get the data from these tables with one query.

Software/Hardware used:
ASKED: August 5, 2009  5:37 AM
UPDATED: August 5, 2009  2:12 PM

Answer Wiki:
You will need to provide more details. Why do you want to get data from two unrelated tables with one single query ? To get data from 2 or more tables with 1 query you could use a JOIN query, but you will need at least one column to join them on (tables must be related in some way, or you would get a cartesian product). You could also use a UNION if columns in both tables are similar (columns requested from one table must match columns requested from the second table in number and types). Please explain your situation with more details, and post your table structures (and some example data if possible), so we can better help you.
Last Wiki Answer Submitted:  August 5, 2009  6:03 am  by  carlosdl   63,535 pts.
All Answer Wiki Contributors:  carlosdl   63,535 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _