i am getting internal server error while running this query 

```
mysql_query("select * from table_name where PARTY LIKE '%NIXON%' group by 1_FROM_2_TO,INSTR_,PARTY limit 1770");

```

but i will get result when change the limit to 1765

```
mysql_query("select * from table_name where PARTY LIKE '%NIXON%' group by 1_FROM_2_TO,INSTR_,PARTY limit 1765");

```

what is the problem here? thanks in advance.