can someone explain me why this query requires GROUP BY clause in Oracle while is perfectly fine in MSSQL, MySQL, Postgresql?
select count(*) / (select count(*) from dual)from dual
Oracle complains
"[Error] Execution (1: 27): ORA-00937: not a single-group group function"
If I change it and add dummy group by like this
select count(*) / (select count(*) from dual)from dual
group by null
then it's fine for Oracle. Why Oracle requires this group by?