Articulos PHP
- 3.3 Transformando series en variables.
- 1.7 Enunciado exit o die.
- 1.8 Arreglos o array.
- 1.5 Hacer comparaciones de valores.
- 3 PHP junto con MySQL.
Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 128
Articulos Jquery
- 2.1 El selector $(this).
- 1.8 Creando elementos con Jquery
- 3.1 Callback en Jquery
- 1.9 El elemento on.
- 2.3 Pasando el cursor sobre un elemento.
Warning: Use of undefined constant jquery - assumed 'jquery' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 137
Articulos CSS
- 1 Hojas de estilo CSS.
- 1.2 Estructura de los estilos CSS.
- 1.1 Como incluir estilos en una página web.
Warning: Use of undefined constant css - assumed 'css' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 146
Articulos Mysql
- 3.6 Inspeccionar una base de datos con SHOW.
- 2.2 Registros específicos con IN.
- 3.7 Modificar la estructura de una tabla con ALTER TAB
- 2.3 Seleccionando registros con NOT IN.
- 2.6 Combinando resultados con UNION ALL.
Warning: Use of undefined constant mysql - assumed 'mysql' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 155
Warning: Use of undefined constant tema - assumed 'tema' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 199
Warning: Use of undefined constant tema - assumed 'tema' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 220
Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 220
1.3 Obtener el valor más alto de una columna con la función MAX().
En ocasiones tendremos una columna con valores numéricos y quizá lleguemos a necesitar que se muestre en valor más alto de todos , para ello usaremos la función MAX(). El parámetro para la función MAX() es el siguiente:
MAX(nombreColumna)
Para entender mejor, supongamos que tenemos una tabla llamada ‘anuncios’ en la cual hay una columna llamada ‘edadMinima’ en la cual se guardan números o la edad y deseamos saber cual es el valor más alto de toda la lista de números en esa columna, usaríamos una consulta como la siguiente:
SELECT MAX( edadMinima ) FROM `anuncios`
Ahora si deseáramos obtener el valor máximo de varias columnas entonces, volveríamos a declarar otra vez la función MAX() para la otra columna y quedaría como sigue:
SELECT MAX( edadMinima ) , MAX( edadMaxima ) FROM `anuncios`
Warning: Use of undefined constant tema - assumed 'tema' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 225
Valor más alto de una columna.
Warning: Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP) in /home/vhosts/lawebderay.orgfree.com/articulos.php on line 225
1.3



