dovresti almeno far vedere come hai fatto la query e di quale errore stai parlando.

codice:
SELECT int_tec.ID_luogo, COUNT(int_tec.ID_luogo) AS n_int_tec, luoghi.indirizzo 
FROM interventi_tecnici AS int_tec 
INNER JOIN luoghi ON int_tec.ID_luogo = luoghi.ID 
where tabella.campo between '$from' and '$to'
GROUP BY int_tec.ID_luogo