Material del curso de SQL de la UNACAR 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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