Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where badgeProcessos != '' order by badgeProcessos asc limit 100' at line 4
Error No: 1064
select * from politicos inner join partido on partido.partidoId = politicos.partidoId inner join rank on rank.idRank = where badgeProcessos != '' order by badgeProcessos asc limit 100