hey there peeps...
i have the following SQL query that is obviously wrong. it forms part of search script for a database and i really have no idea where to begin..
SELECT * FROM gigs WHERE { date >= '1998-01-01' AND date < '2003-01-01' } OR { place LIKE '%astoria%' } OR { city LIKE '%london%' } OR { type = 'live' }
the form has a start date and an end date, it also has a select which is the 'type' and two text inputs, 'place' and 'city'. not all fields are nessecary indeed none are nessecary...
its a big ask, but could someone help me out here?