I am trying to query min value of column and its timestamp.
Table "cars":
+----+------------+-------+
| id | epoch_time | cars  |
+----+------------+-------+
|  1 |          1 |     5 |
|  2 |          2 |    10 |
|  3 |          3 |    15 |
|  4 |          4 |    10 |
|  5 |          5 |     3 |
+----+------------+-------+
Expected result:
+----+------------+-------+
| id | epoch_time | cars  |
+----+------------+-------+
|  5 |          5 |     3 |
+----+------------+-------+
Tried so far:
SELECT min(cars), epoch_time FROM cars;
It picks up min value fine, but epoch_time is incorrect.
I am expecting epoch_time to be corresponding to min(value) associated (by row).
 
    