I use a simple order by clause to display products according to available quantity
The following is the query I'm using:
SELECT * FROM productsinfo ORDER BY quantity desc
A request that gives an error, but the sort order is not correct. Anyone please tell me where I am going wrong.
EDIT
Checked that my quentity clumn is of type varchar . I save the values ββin the format 1,215 10,456 .
user1264520
source share