Error
Código SQL:
Ver originalSELECT art. * , kar.can, kar.sto, kar.idkar, idkar
FROM art
INNER JOIN kar ON kar.idart = art.idart AND MAX(kar.idkar)
WHERE art.des LIKE 'a%'
GROUP BY idart
Código HTML:
Ver original#1111 - Invalid use of group function