Ads Performance
[]
["Create table If Not Exists Ads (ad_id int, user_id int, action ENUM('Clicked', 'Viewed', 'Ignored'))", 'Truncate table Ads', "insert into Ads (ad_id, user_id, action) values ('1', '1', 'Clicked')", "insert into Ads (ad_id, user_id, action) values ('2', '2', 'Clicked')", "insert into Ads (ad_id, user_id, action) values ('3', '3', 'Viewed')", "insert into Ads (ad_id, user_id, action) values ('5', '5', 'Ignored')", "insert into Ads (ad_id, user_id, action) values ('1', '7', 'Ignored')", "insert into Ads (ad_id, user_id, action) values ('2', '7', 'Viewed')", "insert into Ads (ad_id, user_id, action) values ('3', '5', 'Clicked')", "insert into Ads (ad_id, user_id, action) values ('1', '4', 'Viewed')", "insert into Ads (ad_id, user_id, action) values ('2', '11', 'Viewed')", "insert into Ads (ad_id, user_id, action) values ('1', '2', 'Clicked')"]
{"mysql": ["Create table If Not Exists Ads (ad_id int, user_id int, action ENUM('Clicked', 'Viewed', 'Ignored'))"], "mssql": ["Create table Ads (ad_id int, user_id int, action VARCHAR(10) NOT NULL CHECK (action IN ('Clicked', 'Viewed', 'Ignored')))"], "oraclesql": ["Create table Ads (ad_id int, user_id int, action VARCHAR(10) NOT NULL CHECK (action IN ('Clicked', 'Viewed', 'Ignored')))"], "database": true, "name": "ads_performance", "pythondata": ["Ads = pd.DataFrame([], columns=['ad_id', 'user_id']).astype({'ad_id':'Int64', 'user_id':'Int64', 'action':'object'})"], "postgresql": ["Create table If Not Exists Ads (ad_id int, user_id int, action VARCHAR(30) CHECK (action IN ('Clicked', 'Viewed', 'Ignored')))\n"], "database_schema": {"Ads": {"ad_id": "INT", "user_id": "INT", "action": "ENUM('Clicked', 'Viewed', 'Ignored')"}}}
{"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']