【发布时间】:2013-12-24 06:58:54
【问题描述】:
mysql查询是:
SELECT
dim_location.country_name,
COUNT(fact_flight.sk_fact)
FROM
dim_location, dim_date
INNER JOIN fact_flight ON dim_location.sk_location = fact_flight.sk_location
WHERE
fact_flight.date_key = dim_date.date_key
GROUP BY
dim_location.country_name
但它不起作用,这是错误消息
#1054 - Unknown column 'dim_location.sk_location' in 'on clause'
【问题讨论】: