一张表Table里面,一个字段A对应另一个字段B多个数据,怎么查符合这一要求的数据?A B 1 a1 a2 a2 b要查出A B 2 a2 b
可以向用group by 加 去从 distinct 来处理,以下是oracle实例