Match is a reserved keyword in MySQL, changed to match_detail