i am new in learning sql. how to create query to get the timestamp of a minimum value and the minimum value itself? previously i managed to get the minimum value but not with its timestamp. with this query
SELECT min(score) as lowest
FROM rank
WHERE time >= CAST(CURDATE() AS DATE)
here is the table that i've created:
(cannot attach image because of the reputation rule)
sorry for the bad english.