Number of Comments per Post
[]
['Create table If Not Exists Submissions (sub_id int, parent_id int)', 'Truncate table Submissions', "insert into Submissions (sub_id, parent_id) values ('1', NULL)", "insert into Submissions (sub_id, parent_id) values ('2', NULL)", "insert into Submissions (sub_id, parent_id) values ('1', NULL)", "insert into Submissions (sub_id, parent_id) values ('12', NULL)", "insert into Submissions (sub_id, parent_id) values ('3', '1')", "insert into Submissions (sub_id, parent_id) values ('5', '2')", "insert into Submissions (sub_id, parent_id) values ('3', '1')", "insert into Submissions (sub_id, parent_id) values ('4', '1')", "insert into Submissions (sub_id, parent_id) values ('9', '1')", "insert into Submissions (sub_id, parent_id) values ('10', '2')", "insert into Submissions (sub_id, parent_id) values ('6', '7')"]
{"mysql": ["Create table If Not Exists Submissions (sub_id int, parent_id int)"], "mssql": ["Create table Submissions (sub_id int, parent_id int)"], "oraclesql": ["Create table Submissions (sub_id int, parent_id int)"], "database": true, "name": "count_comments", "pythondata": ["Submissions = pd.DataFrame([], columns=['sub_id', 'parent_id']).astype({'sub_id':'Int64', 'parent_id':'Int64'})"], "postgresql": ["\nCreate table If Not Exists Submissions (sub_id int, parent_id int)"], "database_schema": {"Submissions": {"sub_id": "INT", "parent_id": "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']