|
-
Dec 26th, 2006, 07:53 AM
#1
Thread Starter
New Member
how join works on 4 tables with same field
i have 4 tables with common field voucherno in all
how can i match every table voucher with a one main table.
SELECT distinct voucher.voucherno,(opn.voucherfigure)as opn,(aakera.voucherfigure)as aakera FROM voucher INNER JOIN (opn INNER JOIN (aakera inner join (ring inner join forecast on forecast.voucherno=ring.voucherno) On ring.voucherno=aakera.voucherno) on aakera.voucherno=opn.voucherno ) ON voucher.voucherno=opn.voucherno
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|