随笔分类 -  MySQL

摘要:数据库临时表(CTE) 1.数据库临时表-递归公共表表达式(CTE)来生成数字序列 WITH RECURSIVE `nums` AS (SELECT 1 AS `num` UNION ALL SELECT `num` + 1 FROM `nums` WHERE `num` < 10) SELECT 阅读全文
posted @ 2024-10-11 11:51 Journey&Flower 阅读(20) 评论(0) 推荐(0)