(45) Getting rid of the unnecessary.
More photos from DadsGoneWild
SELECT *
FROM gallery2
WHERE topic_id="247078"
UNION
SELECT *
FROM gallery2
WHERE topic_id="784279"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1433218"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1596348"
UNION
SELECT *
FROM gallery2
WHERE topic_id="615905"
UNION
SELECT *
FROM gallery2
WHERE topic_id="10526"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1214976"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1588559"
UNION
SELECT *
FROM gallery2
WHERE topic_id="302147"
UNION
SELECT *
FROM gallery2
WHERE topic_id="441056"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1821794"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1597119"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1212358"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1083042"
UNION
SELECT *
FROM gallery2
WHERE topic_id="256397"
UNION
SELECT *
FROM gallery2
WHERE topic_id="714691"