I am trying to use a SQL query to return all entries and to also only return entries that have a status of open.
I can’t seem to get my head around it. Am absolute beginner with EE and SQL.
This is what I have:
SELECT field_id_3 FROM exp_channel_data WHERE EXISTS ( SELECT status FROM exp_statuses WHERE status = 'open' );Any help appreciated