mysql查找出現出現兩次的項------半路遇到ERROR 1248 (42000): Every derived table must have its own alias

     看錶:mysql mysql> select * from x; +----+---+---+ | id | a | b | +----+---+---+ | 1 | 1 | 2 | | 2 | 5 | 3 | | 3 | 1 | 4 | | 4 | 1 | 5 | | 5 | 5 | 1 | | 6 | 6 | 1 | +----+---+---+     用group b
相關文章
相關標籤/搜索