ClubEnsayos.com - Ensayos de Calidad, Tareas y Monografias
Buscar

Consultas PostgreSQL, SQL


Enviado por   •  16 de Febrero de 2014  •  759 Palabras (4 Páginas)  •  296 Visitas

Página 1 de 4

Select nombre, marca from software where marca in ('adobe', 'microsoft', 'apple')

Select direccion from proveedor where pais in ('usa', 'mexico', 'espana')

Select * from software where nombre in ('photoshop', 'sublime text', 'nero')

Select * from venta where fecha_compra in ('2014-01-01', '2014-01-13')

Select * from venta where producto in ('cyberlink', 'delphi')

Select nombre from software where tipo in ('antivirus', 'biometrico', 'aplicacion')

Select nombre, direccion from proveedor where ciudad in ('tepic', 'madrid')

Select * from empleado where estado in ('sinaloa', 'nayarit')

Select edad, sexo from empleado where ciudad in ('udc', 'tuxpan', 'santiago')

Select nombre from software where tipo in ('diseño', 'biometrico', 'procesador_texto')

Select nombre from empleado where nacionalidad in ('italiana', 'colombiana', 'española')

Select distinct tipo from software

Select distinct puesto from empleado

Select distinct forma_pago from venta

Select distinct ciudad from empleado

Select distinct estado from empleado

Select distinct edad from empleado

Select distinct nacionalidad from empleado

Select distinct puesto from empleado

Select distinct version from software

Select nombre, direccion from empleado where sexo like 'femenino' and telefono is null

Select nombre from software where version is null

Select * from empleado where telefono is null

Select nombre from empleado where foto is null

Select nombre, precio from software where tipo is null

Select * from software where version is null

Select * from empleado where nacionalidad is null

Select nombre from empleado where estado is null

Select nombre from empleado where ciudad is null

Select nombre, direccion from empleado where edo_civil is null

Select nombre from software where precio is null

Select * from software where marca is null

Select nombre, nacionalidad from empleado where direccion is null

Select nombre from empleado where sexo like 'masculino' and telefono is not null

Select nombre from software where version is not null

Select direccion from empleado where telefono is not null

Select * from venta where fecha_compra is not null

Select nombre, version from software where tipo is not null

Select * from software where marca is not null

Select nombre from software where precio is not null

Select * from empleado where ciudad is not null

Select nombre from empleado where estado is not null

...

Descargar como (para miembros actualizados)  txt (5.1 Kb)  
Leer 3 páginas más »
Disponible sólo en Clubensayos.com