SQL: DISTINCT is invalid (Error 1819)
You can use only one DISTINCT clause per level.