SELECT MySql Filter Status

0

I need a select in which to search for tipo status and responsave l, only that it is catching by several Status, while only needing a count status A

count(if(r.reponsavel mae,if(t.tipo=1 ir t.tipo =2)if(t.status = 'A'),null),null),null)

Table Responsavel: colunm responsavel
Table Tipos: Colunm tipo, status
    
asked by anonymous 02.09.2018 / 04:56

0 answers