ok, i've thought about this enough. i haven't gotten very far with it, so i'll spell it out for you guys and see how fast somebody can get a star.
i want to grab totals for multiple months (april, may, june, july, august) using one select statement with two tables. so something like
now i need multiple between statements for every month or what? obviously i'm lost and need a little help here.
i want to grab totals for multiple months (april, may, june, july, august) using one select statement with two tables. so something like
Code:
select sum(tbl_a.price) from tbl_a, tbl_b where tbl_b.registered=1 and tbl_b.id_field=tbl_a.id_field and tbl_b.date_applied between...
now i need multiple between statements for every month or what? obviously i'm lost and need a little help here.