Countries You Can Safely Invest In
['average-salary-departments-vs-company']
['Create table If Not Exists Person (id int, name varchar(15), phone_number varchar(11))', 'Create table If Not Exists Country (name varchar(15), country_code varchar(3))', 'Create table If Not Exists Calls (caller_id int, callee_id int, duration int)', 'Truncate table Person', "insert into Person (id, name, phone_number) values ('3', 'Jonathan', '051-1234567')", "insert into Person (id, name, phone_number) values ('12', 'Elvis', '051-7654321')", "insert into Person (id, name, phone_number) values ('1', 'Moncef', '212-1234567')", "insert into Person (id, name, phone_number) values ('2', 'Maroua', '212-6523651')", "insert into Person (id, name, phone_number) values ('7', 'Meir', '972-1234567')", "insert into Person (id, name, phone_number) values ('9', 'Rachel', '972-0011100')", 'Truncate table Country', "insert into Country (name, country_code) values ('Peru', '051')", "insert into Country (name, country_code) values ('Israel', '972')", "insert into Country (name, country_code) values ('Morocco', '212')", "insert into Country (name, country_code) values ('Germany', '049')", "insert into Country (name, country_code) values ('Ethiopia', '251')", 'Truncate table Calls', "insert into Calls (caller_id, callee_id, duration) values ('1', '9', '33')", "insert into Calls (caller_id, callee_id, duration) values ('2', '9', '4')", "insert into Calls (caller_id, callee_id, duration) values ('1', '2', '59')", "insert into Calls (caller_id, callee_id, duration) values ('3', '12', '102')", "insert into Calls (caller_id, callee_id, duration) values ('3', '12', '330')", "insert into Calls (caller_id, callee_id, duration) values ('12', '3', '5')", "insert into Calls (caller_id, callee_id, duration) values ('7', '9', '13')", "insert into Calls (caller_id, callee_id, duration) values ('7', '1', '3')", "insert into Calls (caller_id, callee_id, duration) values ('9', '7', '1')", "insert into Calls (caller_id, callee_id, duration) values ('1', '7', '7')"]
{"mysql": ["Create table If Not Exists Person (id int, name varchar(15), phone_number varchar(11))", "Create table If Not Exists Country (name varchar(15), country_code varchar(3))", "Create table If Not Exists Calls (caller_id int, callee_id int, duration int)"], "mssql": ["Create table Person (id int, name varchar(15), phone_number varchar(11))", "Create table Country (name varchar(15), country_code varchar(3))", "Create table Calls (caller_id int, callee_id int, duration int)"], "oraclesql": ["Create table Person (id int, name varchar(15), phone_number varchar(11))", "Create table Country (name varchar(15), country_code varchar(3))", "Create table Calls (caller_id int, callee_id int, duration int)"], "database": true, "name": "find_safe_countries", "pythondata": ["Person = pd.DataFrame([], columns=['id', 'name', 'phone_number']).astype({'id':'Int64', 'name':'object', 'phone_number':'object'})", "Country = pd.DataFrame([], columns=['name', 'country_code']).astype({'name':'object', 'country_code':'object'})", "Calls = pd.DataFrame([], columns=['caller_id', 'callee_id', 'duration']).astype({'caller_id':'Int64', 'callee_id':'Int64', 'duration':'Int64'})"], "postgresql": ["\nCreate table If Not Exists Person (id int, name varchar(15), phone_number varchar(11))\n", "Create table If Not Exists Country (name varchar(15), country_code varchar(3))", "Create table If Not Exists Calls (caller_id int, callee_id int, duration int)"], "database_schema": {"Person": {"id": "INT", "name": "VARCHAR(15)", "phone_number": "VARCHAR(11)"}, "Country": {"name": "VARCHAR(15)", "country_code": "VARCHAR(3)"}, "Calls": {"caller_id": "INT", "callee_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']