SELECT
   codice_fiscale AS cf
 , importo_definitivo_deminimis_lty AS idefdm_lty
 , importo_erogato_deminimis_lty AS contributoerogatodm_lty
 /*, dipartimento*/
FROM beneficiari
NATURAL JOIN beneficiari_progetti
NATURAL LEFT JOIN deminimis_lty_mv
NATURAL JOIN queryset
