Oracle中 COUNT(count(*))語法 是統計分組后的總數
oracle 例:select count(count(*)) from s_name group by type
mysql 例:select count(*) from (select count(*) from s_name group by type)
a 注意:
Oracle這種語法無法在mysql使用
Oracle中 COUNT(count(*))語法 是統計分組后的總數
oracle 例:select count(count(*)) from s_name group by type
mysql 例:select count(*) from (select count(*) from s_name group by type)
a 注意:
Oracle這種語法無法在mysql使用
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。