Articulos PHP
- 1.2 Enunciados de salida echo.
- 1.3 Almacenar texto en variables
- 1.7 Enunciado exit o die.
- 3.3 Transformando series en variables.
- 2.3 Ciclo FOR avanzado.
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.4 Usando AJAX con el método .post().
- 2.7 Listas desplegables con change()
- 1.7 El método CSS.
- 1.8 Creando elementos con Jquery
- 2.9 Valor de un campo de texto con attr().
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.1 Como incluir estilos en una página web.
- 1.2 Estructura de los estilos CSS.
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
- 2.6 Combinando resultados con UNION ALL.
- 1.2 Función AVG().
- 1.9 Seleccionar filas con la expresión columna=valor
- 3.5 Crear y borrar una base de datos
- 1.1 Consulta SELECT.
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.5 Obtener el valor más pequeño de una columna con la función MIN().
En ocasiones necesitaremos obtener en valor menor de una columna, para ello usaremos la función MIN(), su sintaxis es como sigue:
MIN(nombreColumna)
Para entender un poco mejor, supongamos que tenemos una tabla llamada ‘anuncios’ y que dicha tabla tiene una columna llamada ‘edadMinima’ de la cual se requiere su valor más pequeño, entonces usaríamos la siguiente consulta:
SELECT MIN( edadMinima ) FROM `anuncios`
Ahora si necesitáramos obtener el valor mínimo de otra columna únicamente tendremos que usar nuevamente la función MIN() como se muestra a continuación:
SELECT MIN( edadMinima ) , MIN( 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
Obtener el valor más pequeño 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.4



