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 = '58CF793A' -> Table 'femurndom.publicacao' doesn't exist