I have this table:
Reply_ID | Fk_Post_ID 10 | 5 9 | 6 8 | 5 7 | 9 6 | 5 5 | 9 4 | 7
I need a query that retrieves the entries in the following order template. it searches for the record with the highest reply_ID and then retrieves all the records that have the same Fk_Post_ID. something like that:
Reply_ID | Fk_Post_ID 10 | 5 8 | 5 6 | 5 9 | 6 7 | 9 5 | 9 4 | 7
source share