Ecco la mia, ma non funge:
SELECT SUM(prezzo) AS totale, linea,
(select descrizione_linea from stat_aglin where linea='linea')
linea FROM $nome_tabella
where codice_cliente='$codice_cliente'
GROUP BY linea
order by totale desc;
![]()
Ale
Ecco la mia, ma non funge:
SELECT SUM(prezzo) AS totale, linea,
(select descrizione_linea from stat_aglin where linea='linea')
linea FROM $nome_tabella
where codice_cliente='$codice_cliente'
GROUP BY linea
order by totale desc;
![]()
Ale