Jul-04-2018, 08:51 AM
You don't sort a database, that's one of the reasons you use it.
Instead, you add a ORDER BY clause to your Query which sorts the output of the query:
example:
Instead, you add a ORDER BY clause to your Query which sorts the output of the query:
example:
for oby in MC: cur.execute("SELECT FROM Tri VALUES (%s, %s, %s, ... ORDER BY %)", (var1, var2, var3. ..., oby)) ...Something like above.