How to add Custom Query Builder SQL Condition

I need to add a custom QueryBuilder SQL condition.
I need to compared a constant text to the GET variable.
I want my SQL query to work even when one of the three select option is not selected by the user.
What I need is this:
‘Ignore Select’ = {{$_GET.state}}

Community Page
Last updated: