我有数据库,其中包含有关电视连续剧的信息,如下所示:
name - Californication
episode - 3
season - 6
name - Californication
episode - 4
season - 6
..
name - Californication
episode - 1
season - 7
我想得到这样的输出:
Season 6:
episode 3
episode 4
Season 7:
episode 1
episode 2
....
尝试了好几种方法,甚至都成功了,不过我相信还是在这里求个轻的方法比较好。谢谢