Please check the image.
Here i have 2 table. One is post table and another is fevorite table. Both has primary key and post_id is FOREIGN_KEY in fevorite table.
Now my needs are:
- Select post_id list from fevorite table WHERE fevorite_by=2.
- Using this post_id list get post details (post_title,created_by, ...) from post table.
I need all of those things in single query. Thanks in advance.
