May not be the longest but it gets the job done.
Category:
ratemycock
Posted by:
jayknox-13
More photos from Ratemycock
SELECT *
FROM gallery2
WHERE topic_id="525083"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1796507"
UNION
SELECT *
FROM gallery2
WHERE topic_id="782167"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1622547"
UNION
SELECT *
FROM gallery2
WHERE topic_id="106579"
UNION
SELECT *
FROM gallery2
WHERE topic_id="416317"
UNION
SELECT *
FROM gallery2
WHERE topic_id="410980"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1313533"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1540086"
UNION
SELECT *
FROM gallery2
WHERE topic_id="873046"
UNION
SELECT *
FROM gallery2
WHERE topic_id="45814"
UNION
SELECT *
FROM gallery2
WHERE topic_id="718135"
UNION
SELECT *
FROM gallery2
WHERE topic_id="24436"
UNION
SELECT *
FROM gallery2
WHERE topic_id="277163"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1300726"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1511249"