Find Customers With Positive Revenue this Year
[]
['Create table If Not Exists Customers (customer_id int, year int, revenue int)', 'Truncate table Customers', "insert into Customers (customer_id, year, revenue) values ('1', '2018', '50')", "insert into Customers (customer_id, year, revenue) values ('1', '2021', '30')", "insert into Customers (customer_id, year, revenue) values ('1', '2020', '70')", "insert into Customers (customer_id, year, revenue) values ('2', '2021', '-50')", "insert into Customers (customer_id, year, revenue) values ('3', '2018', '10')", "insert into Customers (customer_id, year, revenue) values ('3', '2016', '50')", "insert into Customers (customer_id, year, revenue) values ('4', '2021', '20')"]
{"mysql": ["Create table If Not Exists Customers (customer_id int, year int, revenue int)"], "mssql": ["Create table Customers (customer_id int, year int, revenue int)"], "oraclesql": ["Create table Customers (customer_id int, year int, revenue int)"], "database": true, "name": "find_customers", "pythondata": ["Customers = pd.DataFrame([], columns=['customer_id', 'year', 'revenue']).astype({'customer_id':'Int64', 'year':'Int64', 'revenue':'Int64'})"], "postgresql": ["Create table If Not Exists Customers (customer_id int, year int, revenue int)"], "database_schema": {"Customers": {"customer_id": "INT", "year": "INT", "revenue": "INT"}}}
{"mysql": ["MySQL", "<p><code>MySQL 8.0</code>.</p>"], "mssql": ["MS SQL Server", "<p><code>mssql server 2019</code>.</p>"], "oraclesql": ["Oracle", "<p><code>Oracle Sql 11.2</code>.</p>"], "pythondata": ["Pandas", "<p>Python 3.10 with Pandas 2.2.2 and NumPy 1.26.4</p>"], "postgresql": ["PostgreSQL", "<p>PostgreSQL 16</p>"]}
['Database']