並前往https://it001.pixnet.net/blog/post/352391327-it%E8%AE%80%E6%9B%B8%E5%AE%A4-sql%E8%AA%9E%E6%B3%95%E5%AD%B8%E7%BF%92---group-by--having---unions