求救:在MYSQL中如何使联合查询的结果输出到数据库表中?
SELECTl.card_number,
l.left_time,
from_unixtime(max(r.time_end)),
r.node_alias
FROM
user_time l,
user_logs r
WHERE l.card_number=r.card_number and l.left_time<0
GROUP BY l.card_number,r.node_alias
ORDER BY
l.left_time,
r.time_end;
我想把该查询结果写入一张新的数据库表中,该怎么办呢?
请高手多多指教!!!!
页:
[1]