Cleaner SQL CTE than the current one

后端 未结 0 751
难免孤独
难免孤独 2021-01-12 23:41

Currently I use the following CTE to grab a category and any category below it:

WITH RECURSIVE tree AS (
SELECT * FROM (
    SELECT categoryId, 
          cat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题