Hello,
I am attempting to call a particular table if the OR statement is used. When I try it gives me a Syntax error. Please assist?
Here is the code:
SELECT T_Physicians.TaxID, T_ECCcpt.CPTcode, T_ECCcpt.Charge, *
FROM T_Physicians, T_ECCcpt
WHERE (((T_Physicians.TaxID)="58-229xxxx"))
OR
SELECT T_Physicians.TaxID, T_SibleyCpt.CPTcode, T_SibleyCpt.Charge, *
FROM T_Physicians, T_SibleyCpt
WHERE
T_Physicians.TaxID = 58-187xxxx;
Adigga1
I am attempting to call a particular table if the OR statement is used. When I try it gives me a Syntax error. Please assist?
Here is the code:
SELECT T_Physicians.TaxID, T_ECCcpt.CPTcode, T_ECCcpt.Charge, *
FROM T_Physicians, T_ECCcpt
WHERE (((T_Physicians.TaxID)="58-229xxxx"))
OR
SELECT T_Physicians.TaxID, T_SibleyCpt.CPTcode, T_SibleyCpt.Charge, *
FROM T_Physicians, T_SibleyCpt
WHERE
T_Physicians.TaxID = 58-187xxxx;
Adigga1