select empresaest.*, baigener.nome_bairrogenerico, baigener.palavra_chave AS plchave, subcategoria.Id as idsubcategoria, subcategoria.nome_subcategoria, subcategoria.palavra_chave as plvchavesub from 0cadastro_estabelecimento as empresaest, bairrogenerico as baigener, subcategoria as subcategoria where empresaest.aprovacao=1 and baigener.Id=empresaest.id_bairro and subcategoria.Id=empresaest.categoria_sub and empresaest.id_bairro='800477' and empresaest.categoria_sub='10189' and empresaest.categoria_sub='10189' order by empresaest.empresa_destaque DESC, baigener.nome_bairrogenerico,empresaest.seq_exibicao,empresaest.nome ASC LIMIT 0,21