Hello,
I have a little problem.
I'm studying a blog program.
Given two tables : post and comment, i would like to retreve the number
of comments for each post.
In postgres the following is doable :
select id, title, body, (select count(*) from comment where post_id =
post.id) as total_comment from post
How-to do the same thing with MySQL?
If you have any idea.
Regards
Salvatore