Quantcast
Viewing all articles
Browse latest Browse all 26501

OT Función en MySql

Horacio buen dia Para retornar el mayor numero de un conjunto hazlo asi select max(teorico) from nSueldos where id_legajo = nro_legajo group by id_legajo esto te traera el mayor sueldo yo te aconsejo que ademas le agregues entre que fechas si quieres traer el sac and fecha between 'xxxx-xx-xx' and 'xxxx-xx-xx Saludos Pedro Lerda'

Viewing all articles
Browse latest Browse all 26501

Trending Articles