Objetivo, fases de desarrollo, entornos y herramientas ...
Objetivo, fases de desarrollo, entornos y herramientas ...
Objetivo, fases de desarrollo, entornos y herramientas ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Las Tablas (B.D.)<br />
Construción sentencias SQL<br />
( Select codigo ... from ..)<br />
SQL<br />
B.D<br />
estilo<br />
album<br />
Resultado Consulta Datos (Tabla)<br />
1 - 221234, gol<strong>de</strong>n heart, Mark Knopfler, Rock, 15<br />
2 - 311996, We can’t dance, Genesis, Pop, 12<br />
...<br />
n - 772175, Ropin’ the Wind, Garth Brooks, Country, 12<br />
(0..n) Registros<br />
Tabla album<br />
- codigo (key)<br />
- titulo<br />
- autor<br />
- estilo<br />
- precio<br />
Ejemplos SQL<br />
1) SELECT titulo FROM album;<br />
(SELECT album.titulo FROM album;)<br />
2) SELECT * FROM album WHERE CODIGO ='221234';<br />
3) SELECT album.titulo, album.precio, album.codigo,<br />
autor.nom_autor FROM album, autor WHERE<br />
album.codio=‘221234' AND album.autor=autor.codigo_autor;