Ive got the basics working, but I'm stuck with accessing PICK values.
SQL Query
SELECT SQL_CALC_FOUND_ROWS DISTINCT t.*, p.id AS pod_id, p.created, p.modified FROM wp_pod p INNER JOIN wp_pod_tbl_image t ON t.id = p.tbl_row_id WHERE p.datatype = 1
(N.B backticks have been removed to avoid formatting clash on the forum)
Pick Field
Field Name: card
Data Type: Related
Related Table: wp_pod_tbl_card
Related Field: name
Related WHERE/ORDER BY SQL: t.id=p.tbl_row_id
This does not return the card.name