I am starting to work with MySQL in a survey and I need to print the different names that I have in my table CANDIDATE and make a count of the votes that each one has in the table VOTES , the tables are referenced by the CANDIDATE_ID.
I'm doing an INNER JOIN but I can not print both at the same time. If I do the counting does not show all the names and if I show the names I do not know how to show how many votes you have.