No entiendo lo que buscas....
Código sql:
Ver originalSELECT paraules.Idtexto,
paraules.idfrase,
paraules.idpalabra,
COUNT(*) AS Nombre,
MAX(paraules.idorden) AS Maxim,
MIN(paraules.idorden) AS Minim
FROM paraules
GROUP BY paraules.Idtexto,
paraules.idfrase,
paraules.idpalabra
HAVING paraules.idpalabra IN (13,3,122136);
Quim