please can anyone tell me why this query brings back results that are outside of the specified dates?
SELECT DISTINCT date
FROM lehrbook_prices
JOIN lehrbook ON lehrbook_prices.product = lehrbook.product_code
WHERE date
BETWEEN '2005-09-08'
AND '2005-09-09'
AND maker = 'Ben Taylor'
OR second_maker = 'Ben Taylor'
OR assistants = 'Ben Taylor'
thanks for any help!
hopefully!
SELECT DISTINCT date
FROM lehrbook_prices
JOIN lehrbook ON lehrbook_prices.product = lehrbook.product_code
WHERE date
BETWEEN '2005-09-08'
AND '2005-09-09'
AND maker = 'Ben Taylor'
OR second_maker = 'Ben Taylor'
OR assistants = 'Ben Taylor'
thanks for any help!
hopefully!