lilefordream

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

分类:

技术点:

相关文章:

  • 2021-11-07
  • 2021-11-07
  • 2021-09-14
  • 2021-11-07
  • 2021-11-17
  • 2021-10-20
  • 2021-11-07
  • 2021-12-31
猜你喜欢
  • 2021-11-07
  • 2021-12-21
  • 2021-08-12
  • 2021-11-04
  • 2021-11-07
  • 2021-12-09
  • 2021-11-07
相关资源
相似解决方案