best_seat: make stats query compatible with MySQL

Signed-off-by: diditclear <didyourupgradeclear@gmail.com>