Link to home
Start Free TrialLog in
Avatar of Panos
PanosFlag for Germany

asked on

Use leftjoin

hello experts.
I have two queries and want to use only one.
Any help?
will this speed up the process?
firstquery:
SELECT ItemID, ProductID
FROM products
WHERE itemid = 45

secondquery:
SELECT taxrate
from taxes
WHERE defaulttax = 1
AND product_type_id = firstquery.productid
ASKER CERTIFIED SOLUTION
Avatar of Cluskitt
Cluskitt
Flag of Portugal image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Panos

ASKER

Thank you very much for your help.
regards
panos