Articulos PHP
- 3 PHP junto con MySQL.
- 1.8 Arreglos o array.
- 2.5 Saliendo del ciclo con BREAK.
- 1.4 Trabajar con números en PHP.
- 1.7 Enunciado exit o die.
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.5 Recorriendo el array con each().
- 1.8 Creando elementos con Jquery
- 1.3 Empezando a utilizar Jquery
- 2.7 Listas desplegables con change()
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.1 Como incluir estilos en una página web.
- 1.2 Estructura de los estilos CSS.
- 1 Hojas de estilo 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.6 Ordernar valores con ORDER BY.
- 3.3 Definición para columnas.
- 2.5 Seleccionando filas con NOT LIKE.
- 1.2 Función AVG().
- 2.1 Seleccionando registros con BETWEEN y WHERE
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



