Reportes

220 views
200 views

Published on

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
220
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Reportes

  1. 1. REPORTE 1 select cust_name from customers where id_cust='11001' and '10004'
  2. 2. REPORTE 2 select nombre,ubicacion,fecha from fiestas where fecha='2005' AND fecha'2006'
  3. 3. REPORTE 3 select nom_premio as tipo_premio,nom_torero as nombre_torero,id_lidia from premio,torero,lidia where Torero.id_torero=Lidia.id_torero and Premio.id_premio=Lidia.id_premio and nom_torero IN ('Alberto Gómez Moreno','César Jiménez','Julián López Escobar "el juli"')
  4. 4. order by nom_torero; REPORTE 4 use [ proyecto fiestas taurinas] select zona,nom_plaza,precio from Zona,Plaza,Distancia,Aforo where Zona.id_distancia=Distancia.id_distancia and Zona.id_zona=Aforo.id_zona and Aforo.id_aforo=Plaza.id_aforo AND nom_plaza LIKE 'A%' AND zona IN ('sombra','sol') order by precio;
  5. 5. REPORTE 5

×