I'm trying to do the following query:<br><br>SELECT ** <br>FROM tblContent <br>LEFT JOIN tblContentInstance <br>ON tblContentInstance.fldContent = tblContent.RecID <br>WHERE tblContent.RecID IN (<br> SELECT tblContent.RecID <br>
FROM tblContent <br> WHERE RecID IN (<br> SELECT fldContent <br> FROM tblContentKeyword <br> WHERE fldAssociation IN (<br>
SELECT RecID <br> FROM tblKeyword <br> WHERE fldKeyword LIKE '%Hiro%Toon%' ESCAPE '*'<br> )<br>
)<br> )<br>ORDER BY tblContentInstance.fldFilename ASC LIMIT 12 OFFSET 0;<br><br>Its a bit convoluted I know, but the part that's causing me issues is the "LIMIT 12 OFFSET 0". In my test db this query yields exactly 12 results without the limits. I am executing this query repeately, changes the OFFSET each time. When I change the limit statement to "LIMIT 12 OFFSET 5" I get 7 results as I would expect, but if I do "LIMIT 12 OFFSET 12" I get 12 results again. Am I missing something about how limit works?<br>
<br>--Christopher Jones<br>