P
pat12
Hello
I have a table with billing of phones.BILLING
(number,month,data,time,cost)
When I build a query NB1 based on BILLING and put few numbers and
months as criteria it calculates immidiately (2s). When I build query
NB2 which is almost the same as NB1 but use subquery or inner join
(tried with both) with tables "number_temp" and "month_temp" (where I
have the same numbers and months as in criteria of NB1) it calculates 5
times longer (10s)
Since I will use much more rows in BILLING then now and would like to
use easier way to presents billings then typing many numbers and months
manually every time in criteria of query NB1 (I would like to learn
something also) I would like to use tables (already existing) with
numbers and months as criteria. But what to do to use these tables as
criteria and have the efficiency of query NB1.
Thanks for any help or link
Regards
PAT
I have a table with billing of phones.BILLING
(number,month,data,time,cost)
When I build a query NB1 based on BILLING and put few numbers and
months as criteria it calculates immidiately (2s). When I build query
NB2 which is almost the same as NB1 but use subquery or inner join
(tried with both) with tables "number_temp" and "month_temp" (where I
have the same numbers and months as in criteria of NB1) it calculates 5
times longer (10s)
Since I will use much more rows in BILLING then now and would like to
use easier way to presents billings then typing many numbers and months
manually every time in criteria of query NB1 (I would like to learn
something also) I would like to use tables (already existing) with
numbers and months as criteria. But what to do to use these tables as
criteria and have the efficiency of query NB1.
Thanks for any help or link
Regards
PAT