SELECT *
FROM bar
WHERE replace(City,' ','') LIKE replace('#location#',' ','')
OR
replace(City,' ','') LIKE replace('#location2#',' ','')
ORDER by Name ASC
SELECT *
FROM bar
WHERE City LIKE '%#Trim(textfield)#%'
OR Name LIKE '%#Trim(textfield)#%'
OR Phone LIKE '%#Trim(textfield)#%'
OR Food LIKE '%#Trim(textfield)#%'
OR Comments LIKE '%#Trim(textfield)#%'
ORDER by Name ASC
SELECT *
FROM bar
WHERE name LIKE '[#sort#]%'
ORDER by Name ASC
barfiles.com - New York - Los Angeles - Hipster Bars