MySQL only within the current month?
问题 I have the following MySQL query, and I'm trying to adjust it so it only fetches results which are within the current month (of the current year), I'm guessing you may require more info about my MySQL structure so here it goes - I have a UNIX timestamp generated by PHP's time() stored within the time column (under the referrals table), so with the below setup it would be t2.time . So my problem is I'm unsure how to proceed, I'm guessing it would be something like adding the following to end