Articulos PHP
- 2.2 Ciclo FOR.
- 2.4 Ciclo WHILE.
- 2.1 Enunciado switch.
- 3.1 Conexi贸n MySQL con enunciado die.
- 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
- 1.8 Creando elementos con Jquery
- 2.8 Valor de una lista desplegable con attr().
- 1.7 El m茅todo CSS.
- 2.7 Listas desplegables con change()
- 3.1 Callback en Jquery
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 Hojas de estilo CSS.
- 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.7 Conjunci贸n interna de tablas.
- 2.5 Seleccionando filas con NOT LIKE.
- 3.7 Modificar la estructura de una tabla con ALTER TAB
- 1 MySQL.
- 3.8 Cuentas de usuario 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.4 Realizar la suma de todos los valores con SUM().
En algunas ocasiones tal vez sea 煤til obtener la suma de todos los valores de una determinada columna, para ello usaremos la funci贸n SUM(), su sintaxis es como sigue:
SUM(nombreColumna)
Para entender un poco mejor supongamos que tenemos una tabla llamada ‘anuncios’ en la cual hay una columna llamada ‘edadMinima’ con puros valores num茅ricos y queremos obtener la suma de todos estos valores, la sintaxis ser铆a como sigue:
SELECT SUM( edadMinima ) FROM聽 `anuncios`
Ahora si quisi茅ramos obtener la suma de otra columna, 煤nicamente tendr铆amos que volver a usar la funci贸n SUM() de la siguiente forma:
SELECT SUM( edadMinima ) , SUM( 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
Realizar una suma con SUM()
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.5



