Never use SQL queries with a cartesian product | CAST Appmarq