Generating Queries with Cardinality Constraints for DBMS Testing | Synapse