Hey.. Never mind..! I found the solution.
SELECT * FROM (SELECT * FROM t2 UNION ALL SELECT * FROM t3 UNION ALL SELECT * t4) t5,t1 WHERE t1.ID = t5.[Pro ID]
Thats all.
Thank you very much..
Hi... I am totally new to database programming. I am sorry if my problem is already answered by somebody in somewhere. This is my question. I have 4 tables. Example:
Table 1: Property
Fields: ID(Primary), Address
Table 2: Rent
Fields: [Pro ID](Forign), Date, Desc, Amount
Table 3: Income...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.