Looking at getting all my old stock on sale. Need some SQL help
Wanted all items not received this year and not sold this year.
select itemlookupcode, description, quantity from item where
(lastreceived not between '01/01/2011' and '12/31/2011') and
(lastsold not between '01/01/2011' and '12/31/2011')
This partially works but does not capture some of the items that have a blank lastsold or lastreceived date!
Any ideas how I can fix this query.
Thanks
Danny
*This post is locked for comments
I have the same question (0)