| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Karl Pielorz | Date: | August 23 2004 1:52pm |
| Subject: | Re: How to get the last record from the slected record set | ||
| View as plain text | |||
--On 22 August 2004 21:05 +0800 Manisha Sathe <manisha@stripped> wrote: > I want to select first 10 records out of 100. And then get the 10th > position. > > If i make use of > > order by score asc limit 1 > > then I will get 100th record, How shall i pick up 10th position? I'm not quite sure I follow what you're aiming for, but have you tried... limit 10,1 i.e. return 1 record, starting at row 10 in the result set. Beyond that you'd have to explain what 'score' is, as it's getting a little confusing... :) -Kp
| Thread | ||
|---|---|---|
| • How to get the last record from the slected record set | Manisha Sathe | 23 Aug |
| • Re: How to get the last record from the slected record set | Karl Pielorz | 23 Aug |
| • Re: How to get the last record from the slected record set | Martijn Tonies | 23 Aug |
| • Re: How to get the last record from the slected record set | Manisha Sathe | 23 Aug |
| • Re: How to get the last record from the slected record set | Roger Baklund | 23 Aug |
| • Re: How to get the last record from the slected record set | Karl Pielorz | 23 Aug |
| • Re: How to get the last record from the slected record set | Manisha Sathe | 23 Aug |
| • RE: How to get the last record from the slected record set | Kerry Frater | 23 Aug |
| • Re: How to get the last record from the slected record set | gerald_clark | 23 Aug |
| • Re: How to get the last record from the slected record set - Thanks | Manisha Sathe | 23 Aug |
