이 포스트 그레스 여기에서 Northwind를 포트를 포스트 그레스
와 장난 해요
에 MySQL의 쿼리를 번역하고 사용에 도움이 필요 : 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
열이 모두 있습니다.
어떤 오류가 발생합니까? –
은 – zcaudate
오류로 질문을 업데이트했습니다. 대소 문자를 구분하는 열 이름은 아마도? –