Artista |
aid |
nombre |
sexo |
edad |
tipo |
integer, llave |
varchar(20) |
varchar(20) |
integer |
Artista_tiene_correo |
aid |
coid |
correo |
tipo |
integer, llave |
integer, llave |
varchar(20) |
Banda |
bid |
nombre |
descripcion |
website |
fecha_creacion |
tipo |
integer, llave |
varchar(20) |
varchar(20) |
varchar(20) |
DATE |
Artista_pertenece_banda |
aid |
bid |
tipo |
integer, llave |
int, llave |
Noticia |
nid |
titulo |
contenido |
tipo |
integer, llave |
varchar(20) |
varchar(20) |
Noticia_tiene_etiqueta |
nid |
eid |
etiqueta |
tipo |
integer, llave |
integer, llave |
varchar(20) |
Artista_en_noticia |
nid |
aid |
tipo |
integer, llave |
integer, llave |
Banda_en_noticia |
nid |
bid |
tipo |
integer, llave |
integer, llave |
Concierto |
cid |
fecha |
localizacion |
capacidad |
tipo |
integer, llave |
DATE |
varchar(20) |
integer |
Entradas |
cid |
tipo_entrada |
precio |
cantidad |
tipo |
integer, llave |
varchar(20) |
integer |
integer |
Artista_participa_en_concierto |
aid |
cid |
tipo |
integer, llave |
integer,llave |
Artista_principal_concierto |
aid |
cid |
tipo |
integer, llave |
integer, llave |
Banda_participa_en_concierto |
bid |
cid |
tipo |
integer, llave |
integer, llave |
Banda_principal_concierto |
bid |
cid |
tipo |
integer, llave |
integer, llave |
Extras:
- website (Banda)
- fecha_creacion (Banda)
- capacidad (Concierto)
- cantidad (Entradas)
rho( ids_bandas, (Pi_(bid)(Sigma(aid = id_dado) (Artista JOIN_(Artista.aid = Artista_pertenece_banda.aid) Artista_pertenece_banda))))
Pi_(nombre)(ids_bandas JOIN_(Banda.bid = ids_bandas.bid) Banda)
rho(ids_noticias, Pi_(nid)(Sigma(aid = id_dado)(Artista JOIN_(Artista.aid = Artista_en_noticia.aid) Artista_en_noticia)))
Pi_(titulo)(ids_noticias JOIN_(ids_noticias.nid = Noticia.nid) Noticia)