0
當我通過Sequel Pro編寫查詢並將其格式化爲a.TBL_ADJUSTMENT
時,出現以下錯誤Table 'a.TBL_ADJUSTMENT' doesn't exist
。SQL查詢表不存在
我怎樣才能寫出來,以便我可以用字母/數字來標記我的表格?
當我通過Sequel Pro編寫查詢並將其格式化爲a.TBL_ADJUSTMENT
時,出現以下錯誤Table 'a.TBL_ADJUSTMENT' doesn't exist
。SQL查詢表不存在
我怎樣才能寫出來,以便我可以用字母/數字來標記我的表格?
假設你正試圖從表my_table
選擇列my_column
,你正在尋找的查詢select a.my_column from my_table as a
你指的是表的結構:
select a.Table_name from
(select * from information_schema.`TABLES` a) as a
你可以添加條件,如果你想指定你的表名。 –