Query to order data insertion [closed]

1

Greetings. When clicking on the + button in the second row of table 1, I get the result of table 2 (new row). I need that when I update the page, the data stays in the position where it was created or deleted. What kind of query would you need?

Deputy The Bdd so far, as you can see, is simple

SOLUTION

This is the query that orders the table. Thanks for your contributions. A sub_id column must be created that inserts the id of the clicked row and for greater ordering create a column to store the insertion date

SELECT * FROM test ORDER BY sub_id,fecha
    
asked by Alex Hunter 29.11.2017 в 15:33
source

0 answers