Bom galera estou tentando fazer o banco devolver os dados em uma tabela e ta dando o seguinte erro no seguinte lugar
ERRO: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘FROM tbl_vendas INNER JOIN tbl_cliente ON tbl_cliente.pk_id_cliente = tbl_venda’ at line 1
segue o código do meu banco como fiz
´´´
this.conectar();
this.executarSQL(
"SELECT "
+ “tbl_vendas.pk_id_venda,”
+ “tbl_vendas.fk_cliente,”
+ “tbl_vendas.ven_data_venda,”
+ “tbl_vendas.ven_valor_liquido,”
+ “tbl_vendas.ven_valor_bruto,”
+ “tbl_vendas.ven_desconto,”
+ “tbl_cliente.pk_id_cliente,”
+ “tbl_cliente.cli_nome,”
+ “tbl_cliente.cli_endereco,”
+ “tbl_cliente.cli_bairro,”
+ “tbl_cliente.cli_cidade,”
+ “tbl_cliente.cli_uf,”
+ “tbl_cliente.cli_cep,”
+ “tbl_cliente.cli_telefone,”
+ " FROM"
+ " tbl_vendas INNER JOIN tbl_cliente "
+ " ON tbl_cliente.pk_id_cliente = tbl_vendas.fk_cliente; "
+ ";"
);
´´´