Troubleshooting SQL questions

Incorrect results

SQL variables and field filters

SQL syntax errors

For some common error messages, see error messages.

Working with JSON in SQL

Using the ? operator for working with JSON in SQL may cause queries to fail. On PostgreSQL, you can use ?? instead.

Are you still stuck?

If you can’t solve your problem using the troubleshooting guides:

Read docs for other versions of Metabase.