
06/08/2005, 09:38
|
 | | | Fecha de Ingreso: octubre-2003 Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 21 años, 4 meses Puntos: 11 | |
seria algo asi:
select chiste,categoria from chistes
inner join categorias on categoirias.id_cat=chistes.id_cat
where id_chiste=2900
La tabla chistes:
------------------------
id_cat
id_chiste
texto_chiste
Tabla categorias:
-------------------------
id_cat
categoria |