• <dl id="2u8ki"><small id="2u8ki"></small></dl>
    • <rt id="2u8ki"><em id="2u8ki"></em></rt>
    • <menu id="2u8ki"></menu>
      0712-2888027 189-8648-0214
      微信公眾號

      孝感風(fēng)信網(wǎng)絡(luò)科技有限公司微信公眾號

      當(dāng)前位置:主頁 > 技術(shù)支持 > MySQL > SQL刪除b表中與a表不同的記錄

      SQL刪除b表中與a表不同的記錄

      時間:2015-11-09來源:風(fēng)信官網(wǎng) 點(diǎn)擊: 724次
      1. 刪除b表中與a表不同的記錄
      2. delete from b where not exists(select * from a where a.id=b.id and a.name=b.name)
      3. delete from b where b.id not in (select a.id from a) or b.name not in (select a.name from a)

      delete from v9_photo_data where not exists(select * from v9_photo where v9_photo.id=v9_photo_data.id)
      delete from v9_material_data where not exists(select * from v9_material where v9_material.id=v9_material_data.id)

      熱門關(guān)鍵詞: SQL 刪除b表 a表 不同記錄
      欄目列表
      推薦內(nèi)容
      熱點(diǎn)內(nèi)容
      展開
      中文字幕无码AV黄片,亚洲天堂日本美女,国产亚洲色婷婷久久99精品91,午夜无码不卡视频 99久色图精品国产 精品熟女少妇A∨免费久久
    • <dl id="2u8ki"><small id="2u8ki"></small></dl>
      • <rt id="2u8ki"><em id="2u8ki"></em></rt>
      • <menu id="2u8ki"></menu>