色婷婷狠狠18禁久久YY,CHINESE性内射高清国产,国产女人18毛片水真多1,国产AV在线观看

mysql多類型查詢,mysql數(shù)據(jù)庫(kù)中如何刪除兩張表同類型數(shù)據(jù)

mysql多類型查詢,mysql數(shù)據(jù)庫(kù)中如何刪除兩張表同類型數(shù)據(jù)?

如果你需要的是刪除數(shù)據(jù)庫(kù)中的數(shù)據(jù): delete from table a where (a.user_id,a.tw_id) in (select user_id,tw_id from vitae group by user_id,tw_id having count(*) > 1) and rowid not in (select min(rowid) from vitae group by user_id,tw_id having count(*)>1) 如果只是查出是去重:

select distinct user_id,tw_id from table