I'm having a problem with a query I'm running. Here's a dbfiddle: https://dbfiddle.uk/?rdbms=mysql_5.6&fiddle=8dc0b4f201e7d25c8817dcecd35b47f0
Basically, I'm trying to keep the rows intact, what I mean is: You can see in the 1st query that playerID 147 set a score of 10450 on the 2018-03-24 13:37:02. However, sadly in the 2nd query the row breaks, I still get the min score I need, but the date is wrong. it sets 2018-03-05 16:24:28 even though it should be 2018-03-24 13:37:02.
I tried doing what's described here: How can I SELECT rows with MAX(Column value), DISTINCT by another column in SQL? but I can't get it to work. I've no idea how to rewrite my query in order for it to work. I'd appreciate any help in altering my query. Thanks for any help.