Articulos PHP
- 3.2 Obteniendo información de la base de datos.
- 2.9 Fecha y Hora en PHP.
- 1.1 Variables en PHP
- 1.9 Como desplazarse dentro de un arreglo o array.
- 2 Enunciados if.
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.2 Introduciendo texto usando el método .text().
- 1.1 Como utilizar Jquery
- 2.7 Listas desplegables con change()
- 1.2 Usar CDN para utilizar Jquery
- 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.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
- 1.2 Función AVG().
- 2.6 Combinando resultados con UNION ALL.
- 3.1 Borrando una fila con DELETE.
- 1.9 Seleccionar filas con la expresión columna=valor
- 1.7 Ordenar valores de forma descendente.
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



