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:
[code=sql]
SELECT T_Physicians.Ta xID, T_ECCcpt.CPTcod e, T_ECCcpt.Charge , *
FROM T_Physicians, T_ECCcpt
WHERE (((T_Physicians .TaxID)="58-229xxxx"))
OR
SELECT T_Physicians.Ta xID, T_SibleyCpt.CPT code, T_SibleyCpt.Cha rge, *
FROM T_Physicians, T_SibleyCpt
WHERE
T_Physicians.Ta xID = 58-187xxxx;
[/code]
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:
[code=sql]
SELECT T_Physicians.Ta xID, T_ECCcpt.CPTcod e, T_ECCcpt.Charge , *
FROM T_Physicians, T_ECCcpt
WHERE (((T_Physicians .TaxID)="58-229xxxx"))
OR
SELECT T_Physicians.Ta xID, T_SibleyCpt.CPT code, T_SibleyCpt.Cha rge, *
FROM T_Physicians, T_SibleyCpt
WHERE
T_Physicians.Ta xID = 58-187xxxx;
[/code]
Adigga1
Comment