Python Interview Questions
Ian Kelly
ian.g.kelly at gmail.com
Wed Sep 5 12:40:56 EDT 2012
On Wed, Sep 5, 2012 at 9:34 AM, Chris Angelico <rosuav at gmail.com> wrote:
> On Thu, Sep 6, 2012 at 1:22 AM, Ian Kelly <ian.g.kelly at gmail.com> wrote:
>> The lack of an ORDER BY is the least of the problems with that SQL.
>> He's also using LIMIT without OFFSET, so the only thing that the
>> 'item' argument changes is how many rows are returned (all but one of
>> which are ignored), not which one is actually fetched.
>
> No, he's using the two-arg form of LIMIT.
My mistake. I didn't even know there was a two-arg form of LIMIT.
Must be a MySQL thing. :-)
Cheers,
Ian
More information about the Python-list
mailing list