New Users Daily Count
[]
["Create table If Not Exists Traffic (user_id int, activity ENUM('login', 'logout', 'jobs', 'groups', 'homepage'), activity_date date)", 'Truncate table Traffic', "insert into Traffic (user_id, activity, activity_date) values ('1', 'login', '2019-05-01')", "insert into Traffic (user_id, activity, activity_date) values ('1', 'homepage', '2019-05-01')", "insert into Traffic (user_id, activity, activity_date) values ('1', 'logout', '2019-05-01')", "insert into Traffic (user_id, activity, activity_date) values ('2', 'login', '2019-06-21')", "insert into Traffic (user_id, activity, activity_date) values ('2', 'logout', '2019-06-21')", "insert into Traffic (user_id, activity, activity_date) values ('3', 'login', '2019-01-01')", "insert into Traffic (user_id, activity, activity_date) values ('3', 'jobs', '2019-01-01')", "insert into Traffic (user_id, activity, activity_date) values ('3', 'logout', '2019-01-01')", "insert into Traffic (user_id, activity, activity_date) values ('4', 'login', '2019-06-21')", "insert into Traffic (user_id, activity, activity_date) values ('4', 'groups', '2019-06-21')", "insert into Traffic (user_id, activity, activity_date) values ('4', 'logout', '2019-06-21')", "insert into Traffic (user_id, activity, activity_date) values ('5', 'login', '2019-03-01')", "insert into Traffic (user_id, activity, activity_date) values ('5', 'logout', '2019-03-01')", "insert into Traffic (user_id, activity, activity_date) values ('5', 'login', '2019-06-21')", "insert into Traffic (user_id, activity, activity_date) values ('5', 'logout', '2019-06-21')"]
{"mysql": ["Create table If Not Exists Traffic (user_id int, activity ENUM('login', 'logout', 'jobs', 'groups', 'homepage'), activity_date date)"], "mssql": ["Create table Traffic (user_id int, activity VARCHAR(10) NOT NULL CHECK (activity IN ('login', 'logout', 'jobs', 'groups', 'homepage')), activity_date date)"], "oraclesql": ["Create table Traffic (user_id int, activity VARCHAR(10) NOT NULL CHECK (activity IN ('login', 'logout', 'jobs', 'groups', 'homepage')), activity_date date)", "ALTER SESSION SET nls_date_format='YYYY-MM-DD'"], "database": true, "name": "new_users_daily_count", "pythondata": ["Traffic = pd.DataFrame([], columns=['user_id', 'activity', 'activity_date']).astype({'user_id':'Int64', 'activity':'object', 'activity_date':'datetime64[ns]'})"], "manual": true, "postgresql": ["Create table If Not Exists Traffic (user_id int, activity VARCHAR(30) CHECK (activity IN ('login', 'logout', 'jobs', 'groups', 'homepage')), activity_date date)\n"], "database_schema": {"Traffic": {"user_id": "INT", "activity": "ENUM('login', 'logout', 'jobs', 'groups', 'homepage')", "activity_date": "DATE"}}}
{"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']