#1052 - 字段列表中的列 'date' 不明确

#1052 - Column 'date' in field list is ambiguous

update callingroute AS t1
INNER JOIN callingroute AS t2                
SET t1.day = (select date FROM (select dayname(date) from callingroute where status = 'OK')AS X) 
WHERE t1.calling_route_id IS NOT NULL;

// 知道为什么我会收到这些错误

如果有的话,查询应该缩短为

update callingroute AS t1                
SET t1.day = dayname(date) 
WHERE t1.calling_route_id IS NOT NULL
  AND status = 'OK';