In my MySQL data base, I have a table(eg,T) with mac address and time (eg,2012-4-30 23:00:00). I want to filter out those mac address which appeared in this week, but not in the previous week.
How could I do that in one sentence? I tried to use multiple select, but haven’t found the way.
Thanks in advance.
Without the table structure, I would suggest something like: