Number of Calls Between Two Persons
[]
['Create table If Not Exists Calls (from_id int, to_id int, duration int)', 'Truncate table Calls', "insert into Calls (from_id, to_id, duration) values ('1', '2', '59')", "insert into Calls (from_id, to_id, duration) values ('2', '1', '11')", "insert into Calls (from_id, to_id, duration) values ('1', '3', '20')", "insert into Calls (from_id, to_id, duration) values ('3', '4', '100')", "insert into Calls (from_id, to_id, duration) values ('3', '4', '200')", "insert into Calls (from_id, to_id, duration) values ('3', '4', '200')", "insert into Calls (from_id, to_id, duration) values ('4', '3', '499')"]
{"mysql": ["Create table If Not Exists Calls (from_id int, to_id int, duration int)"], "mssql": ["Create table Calls (from_id int, to_id int, duration int)"], "oraclesql": ["Create table Calls (from_id int, to_id int, duration int)"], "database": true, "name": "number_of_calls", "pythondata": ["Calls = pd.DataFrame([], columns=['from_id', 'to_id', 'duration']).astype({'from_id':'Int64', 'to_id':'Int64', 'duration':'Int64'})"], "postgresql": ["\nCreate table If Not Exists Calls (from_id int, to_id int, duration int)"], "database_schema": {"Calls": {"from_id": "INT", "to_id": "INT", "duration": "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']