functional.gtcs.test_sql_predicates_10. Check result of DISTINCT when applying SINGULAR to result of query with aggregate function