Hi,
Should the follwing query match a record with just "Jan" in the column (there are no nulls in the column and there are 2 records with only "Jan" in it) ? SELECT COUNT(*) FROM customers WHERE lower(lastName) < lower('Jan%') If so, and if the result of the previous question is "144660", should the next query display "Jan"? SELECT lastname FROM prototype.customers ORDER BY lower(lastname) LIMIT 1 OFFSET 144600 Why do the following queries return the same count (may be related to the first question) SELECT COUNT(*) FROM customers WHERE lower(lastName) < lower('Jan%') SELECT COUNT(*) FROM customers WHERE lower(lastName) <= lower('Jan%') TIA -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: [EMAIL PROTECTED] web: www.askesis.nl ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match