UPDATE cntheater SET title = (SELECT title FROM cntheater_copy WHERE cntheater.id = cntheater_copy.id)
将查询结果作为新表在进行子查询
select * from(SELECT
COUNT(*) as
totalcount,
place,
title,
CONCAT("li" "qw") as name,
(select
IFNULL(1/0,‘yes‘)) as istrue
FROM
cntheater
GROUP BY title) as
newTable WHERE totalcount=2