Sometimes when you want to run reports on users, maybe that have sales orders associated to them, you maybe just want to put a total into the row. Of course you could do this by looping and run a query for each user, but thats pretty inefficient. This is a MySQL stored function that would […]

continue reading.....