Articulos PHP
- 1.7 Enunciado exit o die.
- 2.4 Ciclo WHILE.
- 3 PHP junto con MySQL.
- 1.2 Enunciados de salida echo.
- 3.2 Obteniendo información de la base de datos.
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
- 1.9 El elemento on.
- 2.6 El efecto fadeIn y fadeOut.
- 1.3 Empezando a utilizar Jquery
- 2.9 Valor de un campo de texto con attr().
- 1.7 El método CSS.
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
- 3.1 Borrando una fila con DELETE.
- 1.1 Consulta SELECT.
- 3.4 Creando una tabla con CREATE TABLE.
- 3.5 Crear y borrar una base de datos
- 1 MySQL.
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.2 Función AVG() para obtener un promedio.
Puede suceder que una columna tenga valores numéricos y que necesitemos obtener el promedio de todos los valores numéricos, en ese caso usaremos la función AVG(). El parámetro para esta función es como sigue:
AVG(nombreColumna)
Â
Entonces supongamos que tenemos una tabla llamada ‘anuncios’ y una columna llamada ‘edadMinima’ la cual almacena un número, entonces si quisiéramos obtener el promedio de todos los valores usarÃamos la siguientes consulta:
SELECT AVG( edadMinima ) 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
Función AVG().
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.2



