Hi.
I understand that Wappler does not support sub-queries as of now. And the best option in these cases is to create a view, and use that.
But, right now, I find myself with a query that cannot be converted to view.
SELECT * FROM tbl_code_value where (code_id={{30}} or code_id={{31}}) and is_active=1
and id not in (SELECT code_value_id FROM tbl_code_value_exclusion where tbl_code_value_exclusion.campaign_id={{3}})
tbl_code_value
contain multiple rows for each code_id
with id
as primary key.
tbl_code_value_exclusion
contains list of id
s which should be removed from result set.
Values in {{}}
are dynamic - being sent to server connect via GET.
Can anyone suggest how/if this can be done in Wappler?