Okay, updated the sql query weh, stupid me