I found this query on the forums
exp:query sql=“SELECT * FROM exp_members NATURAL JOIN exp_member_data”
I need to have this query return only members who have a certain custom_field that’s not empty. It returns all the members at this point but I need members who didn’t fill out the custom_field to be omitted from the results. Is this possible.
I’m playing around with conditionals but so far no luck.
I need members who did not fill out the two custom fields to NOT show up in the results.
Thanks