P
PF
Hi,
i am using access and i want to rank my table by group of product
tblProd and i want
a,... a,1
b,... b,1
b,... b,2
c,... c,1
c,... c,2
c,... c,3
Where the count is reset each time the product change
if i use
SELECT tblProd.PRODUIT, (select count (*) from tblProd t1 where t1.produit<
t.produit or (t1.produit = t.produit)) AS nb
FROM tblProd
This is not working. Acess dont recognize T1.
I supopose that it works in sql server or other.
Any advise?
regards
i am using access and i want to rank my table by group of product
tblProd and i want
a,... a,1
b,... b,1
b,... b,2
c,... c,1
c,... c,2
c,... c,3
Where the count is reset each time the product change
if i use
SELECT tblProd.PRODUIT, (select count (*) from tblProd t1 where t1.produit<
t.produit or (t1.produit = t.produit)) AS nb
FROM tblProd
This is not working. Acess dont recognize T1.
I supopose that it works in sql server or other.
Any advise?
regards