I am trying to get channel data for each user using the query add-on. I can’t see a column where the user entry is displayed (i’m trying to get data from a grid field. I’m guessing i have to do some sort of join to get the user_id?
At the moment i have:
SELECT COUNT(*) FROM exp_channel_grid_field_11 INNER JOIN exp_member_data WHERE `col_id_12` = 'Race' && `member_id` = '1'But this just returns the data for every user.
Any ideas are appreciated, Thanks.