I've no idea how to do this with mysql, sorry. I just wanted to suggest you try using WP_Query to get the results you desire, it seems easier to me for this sort of query.
↧
I've no idea how to do this with mysql, sorry. I just wanted to suggest you try using WP_Query to get the results you desire, it seems easier to me for this sort of query.