
14/01/2016, 13:09
|
 | Colaborador | | Fecha de Ingreso: febrero-2009 Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 16 años Puntos: 360 | |
Respuesta: Registro mas repetido en una tabla
Código SQL:
Ver originalSELECT *FROM ( SELECT cod_libro,MAX(COUNT(cod_libro)) cantidad FROM libros GROUP BY cod_libro ORDER BY 2 DESC ) WHERE rownum = 1;
Creo que funcionaría.
__________________ Without data, You are another person with an opinion.
W. Edwads Deming |