COALESCE(SUM(ve.qtd_vendida),0) AS total_vendido, e.qtd_estoque - COALESCE(SUM(ve.qtd_vendida),0) AS estoque_restante ...
schema_name The name of the schema to be created. IF NOT EXISTS clause Creates a schema if the schema name has not already been used. Otherwise throws an error ...