some db statistics and order
Posted: Fri Sep 03, 2010 12:21 pm
ok i have two things i need to do with a table in db which is called relation, it represents relations between a lot or other tables.
first thing i need is statistics of last created relations by date somthing that will output like "comments per week 00.9,less then last week".
second thing i need is to call just the last 5 rows of the table (here i can do the rest and output the data any way i want).
first thing i need is statistics of last created relations by date somthing that will output like "comments per week 00.9,less then last week".
second thing i need is to call just the last 5 rows of the table (here i can do the rest and output the data any way i want).