Ciao a tutti
ho questo
"select distinct mese from medico where anno='"& ano.selectedvalue &"' order by id desc "

mi da questo errore
Server Error in '/' Application.


ORDER BY items must appear in the select list if SELECT DISTINCT is specified.

Come mai?
grazie