Greetings.
There is a bd of a type:
Parent:
news
id text 1 a 2 e 3 p Child:
Comments:
id text news_id 1 yo 1 ... I need to get 10 news items and for each of them three comments:
My options are:
1) Request in cycle - no
2) Request for comments of type IN (news_id) but then LIMIT will be used for all comments, and I need for each news
It is understood that the first request pulls out 10 news, as one request to get 3 comments for each news, thank you.