Material del curso de SQL de la UNACAR 2020
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

consultas.sql 243 B

12345678
  1. select *
  2. from categorias c
  3. join categoria_producto cp on c.id = cp.categoria_id
  4. join productos p on p.id = cp.producto_id
  5. select c.id, c.nombre, c.categoria_id ,c2.nombre from categorias c
  6. join categorias c2 on c2.id = c.categoria_id