A SQL sentence burns the brain logic problem-ask the boss for guidance

as shown in the figure: the fields

that reply_article is " 69 " and reply_type is " 0 " and reply_aims_user is null are required.

then! Here"s the point. Use the reply_id in the previous query field as the primary key to associate the field reply_parent in the table

.
Mar.06,2021

from your sample data, if reply_type is 0 and reply_parent is null, I'm afraid there will be no result if you query according to the conditions in your column.


where is the brain burning? Just connect!

Menu