Posts by iperion300 • 23 points
1 post
-
2
votes1
answer308
viewsQ: mysql and php - subtract the last two records from the same column and divide by the last record from another column
I have a table carro_log that stores the update history of another table. id kilometragem combustivel dt_atualização 1 200 45 2017-05-03 2 400 35 2017-05-03 1 150 38 2017-05-02 3 220 30 2017-05-01 .…