
23/03/2017, 12:49
|
| | Fecha de Ingreso: octubre-2006
Mensajes: 6
Antigüedad: 18 años, 5 meses Puntos: 0 | |
Respuesta: Maximo valor Mysql Por este motivo salen 2 en 2017
SELECT estado, count(estado) as total from `FechaControl` where `vercodigoproyecto`= (SELECT MAX(vercodigoproyecto) from `FechaControl` WHERE YEAR(fecha)='2016') group by `estado` |