錯誤碼: 1109 Unknown table 'ename' in MULTI DELETE,1109ename

來源:互聯網
上載者:User

錯誤碼: 1109 Unknown table 'ename' in MULTI DELETE,1109ename

1、錯誤描述

1 queries executed, 0 success, 1 errors, 0 warnings查詢:delete a.ename from emp錯誤碼: 1109Unknown table 'ename' in MULTI DELETE執行耗時   : 0 sec傳送時間   : 0 sec總耗時      : 0 sec

2、錯誤原因

     刪除資料庫表中的記錄,直接刪除欄位

DELETE a.ename FROM emp;
     這樣不符合SQL語句文法


3、解決辦法

    刪除資料庫表中的某條記錄,需要根據具體的條件刪除

DELETE FROM emp a WHERE a.ename = '調研部';


著作權聲明:本文為博主原創文章,未經博主允許不得轉載。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.