Articulos PHP
- 2 Enunciados if.
- 2.4 Ciclo WHILE.
- 2.7 Enlazar un programas con include.
- 1 PHP
- 1.4 Trabajar con números 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.5 Recorriendo el array con each().
- 1.5 El evento keypress
- 2.6 El efecto fadeIn y fadeOut.
- 1.9 El elemento on.
- 3 Concatenar efectos con 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 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
- 3.1 Borrando una fila con DELETE.
- 3.9 Privilegios o permisos en MySQL
- 2.9 Insertando datos con INSERT.
- 1.9 Seleccionar filas con la expresión columna=valor
- 4 Creando cuentas 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
2.3 Seleccionando registros especÃficos con NOT IN.
Para seleccionar filas o registros que tengan ciertos campos, cuyos valores sean diferentes a determinados valores, podemos usar NOT IN. Por ejemplo, si tuviéramos una tabla llamada usuarios de la cual deseamos obtener los nombres de usuario o nick de todos aquellos usuarios que sean de cualquier paÃs menos de Mexico y Guatemala, la consulta serÃa como sigue:
SELECT nick FROM usuarios WHERE pais NOT IN ("Mexico", "Guatemala")
Ahora, si necesitamos enlzara otro NOT IN podemos usar un OR o AND, como se muestra a continuación:
SELECT nick FROM usuarios WHERE pais NOT IN ("Mexico", "Guatemala") AND genero NOT IN ("femenino")
Como se observa ahora se agrego NOT IN ("femenino") usando un AND lo que hará que se muestren los registros que NO tengan ni México, ni Guatemala ni tampoco genero femenino.
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
Seleccionando registros con NOT IN.
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
2.3



