Articulos PHP
- 2.7 Enlazar un programas con include.
- 1.2 Enunciados de salida echo.
- 3.3 Transformando series en variables.
- 2.8 Usar funciones para código redundante.
- 2.9 Fecha y Hora en PHP.
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.6 El efecto fadeIn y fadeOut.
- 2.7 Listas desplegables con change()
- 2.1 El selector $(this).
- 2.5 Recorriendo el array con each().
- 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.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
- 1.7 Ordenar valores de forma descendente.
- 3.2 Tipos de datos en MySQL.
- 4.1 Eliminando privilegios de una cuenta.
- 2.5 Seleccionando filas con NOT LIKE.
- 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.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



