Utilizo tablas de tipo PARADOX 7 y en la query hago un select como sigue:
SELECT m.Id_articulo, m.titulo, m.Autor, m.N_cds, m.N_cop_alq_dis, c.N_cliente, c.Nombre, c.Apellidos, c.Dni, c.Direccion, c.Telefono, a.Precio_alquiler, a.Fecha_alquiler, a.Fecha_devolucion
FROM cliente AS c, alquiler_musica AS a, musica AS m
WHERE c.N_cliente = a.N_cliente
AND m.Id_articulo = a.Id_articulo
ORDER BY m.titulo
Espero vuestra respuesta, muchas gracias!!
|