![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
13/09/2006, 12:09
|
| | Fecha de Ingreso: julio-2006
Mensajes: 71
Antigüedad: 18 años, 7 meses Puntos: 0 | |
crear consultas mysql como las de access Hola que tal a todos??
necesito realizar un tipo de informe como los de access pero con mysql.
ya que en access se pone este codigo:
SELECT WASIGNACIONDERECURSOS.IdEmpleado, WASIGNACIONDERECURSOS.IdRecurso, WASIGNACIONDERECURSOS.IdAsignacion, WASIGNACIONDERECURSOS.Id_clasificacion, WASIGNACIONDERECURSOS.Fecha_asig, WASIGNACIONDERECURSOS.depto, WASIGNACIONDERECURSOS.DESCRIPCION, CATUSUARIOS.Nombre, CATUSUARIOS.Apellido, CATDEPARTAMENTOS.Departamento
FROM (WASIGNACIONDERECURSOS INNER JOIN CATDEPARTAMENTOS ON WASIGNACIONDERECURSOS.depto = CATDEPARTAMENTOS.IdDepto) INNER JOIN CATUSUARIOS ON WASIGNACIONDERECURSOS.IdEmpleado = CATUSUARIOS.IdEmpleado
WHERE (((WASIGNACIONDERECURSOS.depto)=[DAME EL DEPARTAMENTO]));
y saca unmensaje que es "DEME EL DEPARTAMENTO" Y SOLO ARROJA LO INDICADO.
Este trata de la signacion de recursos.
entoces yo quiero hacer lo mismo pero en mysql. la consulta ya la tengo.
se puede hacer en mysql |