SELECT * FROM publicacao,edicao WHERE publ_nb_edicao = edic_nb_id AND publ_tx_status = 'ativo' AND publ_tx_situacao = 'Publicado' AND publ_tx_codigo = '4C596525' -> Table 'femurndom.publicacao' doesn't exist