This MySQL-Query:
SELECT * FROM table_1 t_1
WHERE t_1.title_search IN
(
SELECT title_search FROM t_2 limit 1, 10
);
produces this error:
Error Code: 1235. This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'
After some googling I found mysqlf on this Developer Page of MySQL. I understand, that this form of query is not supported. Is there a way to rephrase this?
If you’re using the limit for, say a web paging, then the limit is best the last clause, if however you are using limit to restrict the results from the IN clause (you actually only want to match on the first 10 records of the T_2 table), then the above is not correct.