mySQL select multiple ids

SELECT * FROM tablename WHERE `active`='1' AND `id` IN ('107' , '125' ) ORDER BY `id` DESC LIMIT 12`
Tags:

Leave a Reply

Your email address will not be published.