[英]how to store retrieved data to temporary table with mysql
I have executed one query and I want to store that result set into a temporary table and again I want to re filter the data from temporary table. 我已经执行了一个查询,我想将结果集存储到临时表中,我想再次从临时表中过滤数据。 How can I do this with mysql.
我怎么能用mysql做到这一点。 Any suggestions please.
请给我任何建议。
CREATE TEMPORARY TABLE temp_tbl
SELECT whatever
FROM wherever
WHERE ...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.