Hi ,
i have 2 tables
table a
m_id name
1 abcd
2 bcde

table b
m_id id org_name ind_name
1 1192 gold coast
1 1193 fred
2 1196 greg
2 1198 TechTronics

i am now generating the report through a sql query whose output shud be
id Id Org_name Ind_name
1 1192 or 1193 gold_coast fred
2 1196 or 1198 TechTronics greg

How to achieve this?
i tried self join but that is giving me the message no more spool space(the original table is bigger about 2 million records)?