select * from table_name where rank = 1 필드명으로 rank를 사용중인데 rank의 경우 예약어이다. 이때 select * from table_name where `rank` = 1 위 처럼 백틱으로 감싸주면 된다.