I want to put a condition for each column in my SELECT, is it possible?
SELECT count(id_casa) as casaAzul, count(id_casa) as casaAmarela FROM tb_casa
Where:
Where column 1: where cor_casa = 'azul'
Where column 2: where cor_casa = 'yellow'...
asked by
28.09.2018 / 20:09