-1
select request_id, request_created_date, request_complaint_type, request_descriptor,
request_ferry_terminal
from nyc311_requests
join nyc311_locations_ferries on request_id=request_id
where request_ferry_direction = 'Manhattan Bound'
order by request_id
我有這段代碼,當我嘗試執行時,它說每次提到request_id時,它都是一個不明確的列。如何指定何時連接到具有相同主鍵名稱的表?
所有你需要的是[SQL別名](http://beginner-sql-tutorial.com/sql-aliases.htm) –