All pastes #927401 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-03-04 07:56 UTC
rendered paste body
SELECT *
FROM places
INNER JOIN categories_links ON categories_links.place_id = places.id
AND categories_links.category_id = '3'
WHERE places.name LIKE '%%'
ORDER BY places.id DESC
LIMIT 0 , 1