['SELECT * FROM foo GROUP BY x'],
'simple group by';
-
dq_sql_is
Select(
[ Identifier('*') ],
),
['SELECT * FROM foo LEFT OUTER JOIN bar ON foo.x = bar.y'],
'left outer join';
+
+dq_sql_is
+ Select(
+ [ Operator({ 'SQL.Naive' => 'apply' }, [ Identifier('COUNT'), Identifier('*') ]) ],
+ Identifier('foo'),
+ ),
+ ['SELECT COUNT( * ) FROM foo'],
+ 'count';