I am trying to query a table containing call log information (caller id number, date, time) for all calls on a specific date, but also trying to query for the number of previous calls from each number for that day- so that for instance:
phone | date | time | previous calls
555-0123 | 2003-06-09 | 13:41 | 12
would be my result showing that 555-0123 had called on June 9 at 1:41 PM, but had ALSO called 12 times previously (throughout the history of the D😎
I'm using MySQL 4.1, so subselects are available, but I can't seem to make a subselect expression work right- I always get the same number for every result row???
Any help would be greatly appreciated- this is my missing puzzle piece!