J
jas0n
I have a single table of mobile phone data, the dates and times and cost
and duration of each call, etc.
On one query I want to pull out all calls for a particular region that
fall outside of working hours, list them by user and total up the calls.
Would that normally be done by a few seperate queries as I cant seem to
get it all into the one query.
So far, I have a select query to pull the regional data out, then
another one based on that where the criteria is used and then another
one to total it all up.
Doesnt seem efficient to me but I dont know any better at the moment.
and duration of each call, etc.
On one query I want to pull out all calls for a particular region that
fall outside of working hours, list them by user and total up the calls.
Would that normally be done by a few seperate queries as I cant seem to
get it all into the one query.
So far, I have a select query to pull the regional data out, then
another one based on that where the criteria is used and then another
one to total it all up.
Doesnt seem efficient to me but I dont know any better at the moment.