I have two tables: threads and comments
Threads:
- id
- author_id
Comments:
- thread_id
- author_id
thread_id in Commets table is linked to id in Threads table.
Initially i have author_id of user, that posted some Comments in several Threads.
I want to select records from Threads, where my user posted Comments. These records should be limited and ordered by id. And my user should not be author of Threads.
Please, help. Thank you.