I’m looking to create a dynamic WHERE clause in QuestDB for something like the following example SQL: What’s the nicest way to do this? I can’t find guidance in the WHERE keyword documentation Answer This depends on what you’re trying to achieve, but what might be useful is using coalesce() which was added in release 5.0.6.1. The function is designed