I noticed that a query like values_ [] (against Postgres) produces invalid SQL like this:
SELECT "t0"."res0" as "res0", ... FROM (VALUES ) AS "t0"("res0",...)
The empty VALUES statement causes an error syntax error at or near ")". Maybe it should accept a Data.List.NonEmpty list instead?