0
I am making a database with two entities, where entity "A" is a category, and in each category contains several items, in the case entity "B", what I need to know is: it is possible to bring information from entity A with the amount of items in table B?
SELECT tabelaA.*, tabelaB.count(*) FROM tabelaA INNER JOIN tabelaB
WHERE tabelaA.id = tabelaB.id
GROUP BY tabelaA.id;
That’s right, but I had another problem, but that’s not urgent answer, when table B has none
row
it returns no value.– WEB Last Wolf