Can you help me with a pivot table?
Category:
workgonewild
Posted by:
NeedABossLikeHey
More photos from Workgonewild
SELECT *
FROM gallery2
WHERE topic_id="831151"
UNION
SELECT *
FROM gallery2
WHERE topic_id="850100"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1609910"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1564890"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1277145"
UNION
SELECT *
FROM gallery2
WHERE topic_id="336874"
UNION
SELECT *
FROM gallery2
WHERE topic_id="353599"
UNION
SELECT *
FROM gallery2
WHERE topic_id="588599"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1434443"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1147943"
UNION
SELECT *
FROM gallery2
WHERE topic_id="301322"
UNION
SELECT *
FROM gallery2
WHERE topic_id="525345"
UNION
SELECT *
FROM gallery2
WHERE topic_id="555364"
UNION
SELECT *
FROM gallery2
WHERE topic_id="434252"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1047480"
UNION
SELECT *
FROM gallery2
WHERE topic_id="1042349"