Skip to main content
1 de 5

Usando una union de los clientes que no tuvieron reservas:

 select id_cliente, count(*) from reserva group by 1
     union 
  (select id_cliente, 0 from cliente where id_cliente 
                  not in ( select id_cliente from reserva ) );