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="549928"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1305008"
UNION
SELECT *
FROM gallery2
WHERE topic_id="783609"
UNION
SELECT *
FROM gallery2
WHERE topic_id="798420"
UNION
SELECT *
FROM gallery2
WHERE topic_id="726478"
UNION
SELECT *
FROM gallery2
WHERE topic_id="630044"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1353252"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1700812"
UNION
SELECT *
FROM gallery2
WHERE topic_id="968047"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1231700"
UNION
SELECT *
FROM gallery2
WHERE topic_id="851939"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1754598"
UNION
SELECT *
FROM gallery2
WHERE topic_id="862310"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1149527"
UNION
SELECT *
FROM gallery2
WHERE topic_id="9498"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1429848"