HI,
I'm working on a DB to track customer sales traffic in a motorcycle shop. The success rate of the sales people is based on a 1-10 scale. Basically I wrote queries to tablulate the number of occurrences of each sales step in the DB, then wrote queries to add those totals together and figure percentages. I have about 8000 queries right now, and I KNOW there's a smarter way to do things.
I have to write numerous reports comparing the sales staff at different sales levels and with the method i've been using, the DB will be 50 megs before there is any data involved.
I'm pretty new to databases in general, I've used some sql in regards to writing cgi scripts that queried DBs, but i'm pretty ignorant.
I know i Probably haven't given nearly enough info, but any help or insight would be appreciated.
Thanks
Shane.
I'm working on a DB to track customer sales traffic in a motorcycle shop. The success rate of the sales people is based on a 1-10 scale. Basically I wrote queries to tablulate the number of occurrences of each sales step in the DB, then wrote queries to add those totals together and figure percentages. I have about 8000 queries right now, and I KNOW there's a smarter way to do things.
I have to write numerous reports comparing the sales staff at different sales levels and with the method i've been using, the DB will be 50 megs before there is any data involved.
I'm pretty new to databases in general, I've used some sql in regards to writing cgi scripts that queried DBs, but i'm pretty ignorant.
I know i Probably haven't given nearly enough info, but any help or insight would be appreciated.
Thanks
Shane.