I have the following query:
SELECT [tblcatalog].[prodID], [tblcatalog].[catID], [tblcatalog].[prodTitle], [tblcatalog].[prodDesc], [tblcatalog].[prodSize], [tblcatalog].[prodShipInfo], [tblcatalog].[prodPrice], [tblcatalog].[prodSmPic], [tblcatalog].[prodLgPic], [tblcatalog].[artistID], [tblcatalog].[date_inserted], [tblcart].[sold]
FROM tblcatalog LEFT JOIN tblcart ON [tblcatalog].[prodID]=[tblcart].[prodID]
WHERE [tblcart].[sold] = 'Y'
This selects all the records where the value 'Y' is in the 'sold' field.
How can i get the query to select all records where the field 'sold' is empty?
Any help is much appreciated.
Thanks
Jeevenze
SELECT [tblcatalog].[prodID], [tblcatalog].[catID], [tblcatalog].[prodTitle], [tblcatalog].[prodDesc], [tblcatalog].[prodSize], [tblcatalog].[prodShipInfo], [tblcatalog].[prodPrice], [tblcatalog].[prodSmPic], [tblcatalog].[prodLgPic], [tblcatalog].[artistID], [tblcatalog].[date_inserted], [tblcart].[sold]
FROM tblcatalog LEFT JOIN tblcart ON [tblcatalog].[prodID]=[tblcart].[prodID]
WHERE [tblcart].[sold] = 'Y'
This selects all the records where the value 'Y' is in the 'sold' field.
How can i get the query to select all records where the field 'sold' is empty?
Any help is much appreciated.
Thanks
Jeevenze