I came across a perfect solution to a problem
Category:
PornhubComments
Posted by:
GreenSaRed
More photos from PornhubComments
SELECT *
FROM gallery2
WHERE topic_id="1323967"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1509685"
UNION
SELECT *
FROM gallery2
WHERE topic_id="775226"
UNION
SELECT *
FROM gallery2
WHERE topic_id="696175"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1489761"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1325437"
UNION
SELECT *
FROM gallery2
WHERE topic_id="124111"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1562247"
UNION
SELECT *
FROM gallery2
WHERE topic_id="684609"
UNION
SELECT *
FROM gallery2
WHERE topic_id="763300"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1199930"
UNION
SELECT *
FROM gallery2
WHERE topic_id="242345"
UNION
SELECT *
FROM gallery2
WHERE topic_id="677716"
UNION
SELECT *
FROM gallery2
WHERE topic_id="948063"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1567921"
UNION
SELECT *
FROM gallery2
WHERE topic_id="963006"