Every derived table must have its own alias

  每個派生出來的表必須有一個別名orm 當在作嵌套查詢的時候,作例如select * form (select * from ...)之類的查詢的時候會出現此異常table 此時只須要在select * form (select * from ...)後面再加一個as yourtablename,yourtablename爲本身取的表名,就能夠查詢出結果form
相關文章
相關標籤/搜索