i found this absolute banger after months of searching, this isn't my post, all credit goes to the poster. Ty for sharing.
Category:
SaraJay
Posted by:
Prudent_Market_2916
More photos from SaraJay
SELECT *
FROM gallery2
WHERE topic_id="604922"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1110274"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1584183"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1767992"
UNION
SELECT *
FROM gallery2
WHERE topic_id="351806"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1361006"
UNION
SELECT *
FROM gallery2
WHERE topic_id="820961"
UNION
SELECT *
FROM gallery2
WHERE topic_id="641374"
UNION
SELECT *
FROM gallery2
WHERE topic_id="645511"
UNION
SELECT *
FROM gallery2
WHERE topic_id="656938"
UNION
SELECT *
FROM gallery2
WHERE topic_id="929089"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1803290"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1640734"
UNION
SELECT *
FROM gallery2
WHERE topic_id="878984"
UNION
SELECT *
FROM gallery2
WHERE topic_id="482764"
UNION
SELECT *
FROM gallery2
WHERE topic_id="3124"