D
David Beaven
Have a customers comments table with fields e.g. : book name, date of
submission of comment, userid, comment
If my main two queries are:
How many unique users have commented on a specific book (and what were the
comments)
and how many unique users have commented on a specific book in a particular
time frame e.g. last week
Should I be splitting this data into other tables (I'm not sure if the above
table is normalised) and what sort of sql statements would acomplish these
queries?
And to make these queries faster should I consider indexing (and if so on
what field)?
Any help on this very gratefully received
David
submission of comment, userid, comment
If my main two queries are:
How many unique users have commented on a specific book (and what were the
comments)
and how many unique users have commented on a specific book in a particular
time frame e.g. last week
Should I be splitting this data into other tables (I'm not sure if the above
table is normalised) and what sort of sql statements would acomplish these
queries?
And to make these queries faster should I consider indexing (and if so on
what field)?
Any help on this very gratefully received
David