P
Phil
I have a table with Five fields. I give it to you here in CDF format.
"Category","item_types_name","brand_name","customer_id","qty"
"TrucksBullet","Trucks","Bullet","1441",8518
"TrucksBullet","Trucks","Bullet","1505",4650
"TrucksBullet","Trucks","Bullet","1607",0
"TrucksBullet","Trucks","Bullet","8851",4308
I have a query that sorts it by Qty, in descending Order.
SELECT t1.Category, t1.item_types_name, t1.brand_name, t1.customer_id,
t1.SumOfship_qty
FROM t1
ORDER BY t1.Category, t1.qty DESC;
In the universe I live in, the results should fall in the following order:
8518,4650,4306,0
In the Universe of Bill Gates, however, the results are:
0,8518,4650,4306
As you can see, Category is the same for all fields, so that field sort
is irrelevant. The only relevant field sort is Qty.
What the heck? Access 2002 sp3
This comes from a larger dataset, but I did indeed cut the table down to
these four records, and get these results. In the large dataset, I
tried excluding Zero's, and a (-1) which was in the dataset showed up in
the number one position instead.
Phil
"Category","item_types_name","brand_name","customer_id","qty"
"TrucksBullet","Trucks","Bullet","1441",8518
"TrucksBullet","Trucks","Bullet","1505",4650
"TrucksBullet","Trucks","Bullet","1607",0
"TrucksBullet","Trucks","Bullet","8851",4308
I have a query that sorts it by Qty, in descending Order.
SELECT t1.Category, t1.item_types_name, t1.brand_name, t1.customer_id,
t1.SumOfship_qty
FROM t1
ORDER BY t1.Category, t1.qty DESC;
In the universe I live in, the results should fall in the following order:
8518,4650,4306,0
In the Universe of Bill Gates, however, the results are:
0,8518,4650,4306
As you can see, Category is the same for all fields, so that field sort
is irrelevant. The only relevant field sort is Qty.
What the heck? Access 2002 sp3
This comes from a larger dataset, but I did indeed cut the table down to
these four records, and get these results. In the large dataset, I
tried excluding Zero's, and a (-1) which was in the dataset showed up in
the number one position instead.
Phil