[求助] select distinct 的问---题
select distinct BookID,ID2 from tx
我想把bookid重复的去掉,但不去掉ID2重复的,怎么做啊!要是我这样select distinct BookID,ID2 from tx,把ID2重复的也去掉了,弄了半天也没弄出来
select distinct BookID,ID2 from tx
我想把bookid重复的去掉,但不去掉ID2重复的,怎么做啊!要是我这样select distinct BookID,ID2 from tx,把ID2重复的也去掉了,弄了半天也没弄出来