Oracle, MySQL 分組編號與全排序編號 row_number, over, partition by

留給自己的一 memo,使用 Oracle 匯出資料的時候常常需要加上分組編號,這邊簡單記錄一下 Oracle 分組編號的使用方法。