Hay Everyone, i have a MySQL query
SELECT * FROM `product` WHERE `price` BETWEEN '60' AND '999' ORDER BY `product` DESC LIMIT 12 OFFSET 0
This obviously select 12 products where the price is between 60 and 999. This shows the rows correctly.
However if i increase the limit like this query
SELECT * FROM `product` WHERE `price` BETWEEN '60' AND '1000' ORDER BY `product` DESC LIMIT 12 OFFSET 0
No rows get shown. Any ideas why this happens? The ‘price’ field is float type field
Remove the ‘ because the field types are numbers, not chars.