I have two different tables one is for the post and other one is for the user those who are read the post. Now i need to get the unread post count of a particular user using a single query with post_category & user_id in where conditions . the table structure is given below
POST Table
- post_id
- post_category
- post_title
- post_status
USER READ TABLE
- post_id
- user_id