I am trying to select everything from the material and count the total number of elements in morestuff, where id id = morestuff id.
select *,
COUNT(morestuff.items) as total
from stuff,
morestuff
where stuff.id = '{$id}'
and morestuff.id = stuff.id
Obviously there is something wrong with my request, can anyone help?
user1355062
source
share