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

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