我有一個教程 http://www.kendoui.com/blogs/teamblog/posts/12-01-18/get_rolling_with_kendo_ui_and_php_ndash_part_1.aspx需要幫助翻譯MySQL查詢的Postgres
亂搞和使用的Postgres從這裏羅斯文端口: http://code.google.com/p/northwindextended/downloads/detail?name=northwind.postgre.sql
我不能得到這個查詢,以便對數據庫執行:
SELECT TRIM(t.TerritoryDescription) AS TerritoryDescription
FROM Territories t
INNER JOIN EmployeeTerritories et ON t.TerritoryID = et.TerritoryID
INNER JOIN Employees e ON et.EmployeeID = e.EmployeeID
WHERE e.EmployeeID = 1
的錯誤是:
ERROR: column t.territoryid does not exist LINE 3: INNER JOIN EmployeeTerritories et ON t.Territory
但表territories
和territoryid
列都在那裏。
你得到的錯誤是什麼? – 2012-08-07 00:49:23
更新了錯誤的問題 – zcaudate 2012-08-07 00:54:46
區分大小寫的列名可能? – 2012-08-07 01:07:00