select	market.id as market_id
from market
where market.active = 1  and slug = 'new_year's_eve_q.html'
			
ERROR: syntax error at or near "s_eve_q" LINE 3: where market.active = 1 and slug = 'new_year's_eve_q.html' ^

/home/joonbugc/public_html/cravetix/ct-404.php
Line: 11