1
我在Mysql Script Im中试图优化这个代码行(脚本需要7个小时才能运行)。我发现这条线对超过60%的执行时间负责。这是一个动态表吗?或者什么
# #Fill temp table
SELECT
DISTINCT clv_temp(view01.user_email,,user_number) AS `Authentic`
FROM(
SELECT DISTINCT u_mail, u_phone
FROM
Cust_orders
ORDER BY order_date ASC
)view01;
什么是'clv_temp()'? – Raptor
我认为,子选择中的阶级顺序是毫无意义的。 – LuigiEdlCarno
clv_temp应该是临时表 –