the problem is that it's not enough in the report, I have to calculate with this column.
evrey visit cost 1$ ,but the second_visit / month it's free of pay, and not every day it will come, etc.
select * Visitors_table join visit_records;
# * visitor entry
--------------------------
1...
How can I show in query (or form) the record number ?
( the autoincrement filed can have some holes depend if I was deleted some records)
SELECT id,name FROM mytable ORDER BY id DESC ;
# id Name
---------------
1 5 Beta
2 3 Alpha
3 1 Teta
SELECT id,name FROM mytable ORDER by...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.