--- --- Top 10 facturas mas costosas --- select top 10 * from tbldoc where strtipdoc = 'fc' and year(dtmFecDoc) > 2017 order by curNeto desc, dtmFecDoc desc