2025-03-19 00:01
外商 資料分析師 培訓/面試題
假設資料表Occupations如圖1,設一SQL程式碼使其能回傳以下指定的字串
There are a total of 2 doctors.
There are a total of 2 singers.
There are a total of 3 actors.
There are a total of 3 professors.
- 按職業出現次數升序排序,若次數相同則按職業名稱字母順序排序。
- 資料表是活的,若有增加職業需反映在字串裡。
- 注意大小寫&單複數