帮我写个递归SQL语句
时间: 2023-03-23 21:04:33 浏览: 84
excel 递归导出 sql语句
我可以提供一个示例:WITH table_name (column_name) AS (SELECT column_name FROM table_name WHERE condition) SELECT column_name FROM table_name WHERE condition UNION ALL SELECT column_name FROM table_name WHERE condition;
阅读全文