i have two tables nl tblLEV and tblPOINTS (each with a certain number of
fields)
now i wrote the following sql
sqltekst= "SELECT DISTINCTROW tblLEV.LEVname, tblPOINTS.* from tblLEV inner
join tblPOINTS ON tblLEV.levid=tb lPOINTS.pointsi d ORDER BY levpt DESC,
levpt1 DESC
comment: levpt en levpt are fields from table tblLEV and the ordening works
fine
but now the problem........ ...............
there are numeric fields in tblPOITS points1, points2 and I want to complete
the order with
sum(points1) DESC, sum(points2) DESC
questions:
in qsl is summating sum(points)????
if not how is it done????
can anyone understand what i'm saying or give me some advice???
thx and greetigns
fields)
now i wrote the following sql
sqltekst= "SELECT DISTINCTROW tblLEV.LEVname, tblPOINTS.* from tblLEV inner
join tblPOINTS ON tblLEV.levid=tb lPOINTS.pointsi d ORDER BY levpt DESC,
levpt1 DESC
comment: levpt en levpt are fields from table tblLEV and the ordening works
fine
but now the problem........ ...............
there are numeric fields in tblPOITS points1, points2 and I want to complete
the order with
sum(points1) DESC, sum(points2) DESC
questions:
in qsl is summating sum(points)????
if not how is it done????
can anyone understand what i'm saying or give me some advice???
thx and greetigns
Comment