Convert Multiple Joins to SQL Syntax

CT Witter

MrExcel MVP
Joined
Jul 7, 2002
Messages
1,212
I'm trying to take an access query and convert over to syntax that oracle sql will work with. The problem is that I'm using multiple left joins.

Oracle always returns a "SQL command not properly ended" error when using the below. What is the proper syntax??

FROM (((DB.PROF_CLAIM_HEADER LEFT JOIN DB.MEMBER_MASTER ON DB.PROF_CLAIM_HEADER.SEQ_MEMB_ID = DB.MEMBER_MASTER.SEQ_MEMB_ID) LEFT JOIN DB.VENDOR_MASTER ON DB.PROF_CLAIM_HEADER.SEQ_VEND_ID = DB.VENDOR_MASTER.SEQ_VEND_ID) LEFT JOIN DB.PROV_MASTER ON DB.PROF_CLAIM_HEADER.SEQ_PROV_ID = DB.PROV_MASTER.SEQ_PROV_ID) LEFT JOIN DB.PROV_MASTER AS DB.PROV_MASTER_1 ON DB.PROF_CLAIM_HEADER.SEQ_REF_PROV_ID = DB.PROV_MASTER_1.SEQ_PROV_ID;

THANKS,
CT
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Are you sure it's to do with the joins?
 
Upvote 0
If I use the string as is from access it states that the select keyword is missing, however it is the very first word in the SQL statement
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,119
Members
452,381
Latest member
Nova88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top