SQL how to sort by three column but in tree like structure
Database is mariadb. So this is my table and i want to sort it by ‘id’ descending but with the children always below the parent.
Database is mariadb. So this is my table and i want to sort it by ‘id’ descending but with the children always below the parent.