Select the posts along with the corresponding Ikes for each post. Cosegui select what I want, but when I use the error COUNT see in the first img.
Dice
The two tables also the post and the relationship to count the Likes.
Assemble your structure in http://sqlfiddle.com/ and then mark me as I do SQL for you. It is interesting you show how you want the output, can mount in Excel and take a print here
Assemble your structure in http://sqlfiddle.com/ and then mark me as I do SQL for you. It is interesting you show how you want the output, can mount in Excel and take a print here
– Tiedt Tech
The error you refer to is the
null
?– Max Rogério