Can you pull all parent-child relation columns from the same table in one query while keeping the right order?

后端 未结 0 887
青春惊慌失措
青春惊慌失措 2021-01-11 23:56
CREATE TABLE messages (
    id int,
    text varchar(255),
    parent int NULL
);

insert into messages (id, text, parent) values 
(1, \'Parent message 1\', NULL),
(         


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