MindsDB supports standard SQL syntax, including theDocumentation Index
Fetch the complete documentation index at: https://docs.mindsdb.com/llms.txt
Use this file to discover all available pages before exploring further.
CASE WHEN statement.
The CASE WHEN statement is used for conditional logic within queries. It evaluates conditions and returns specific values based on whether each condition is true or false, allowing for conditional output within SELECT, WHERE, and other clauses.