Compute the Rank as a Percentage
[]
['Create table If Not Exists Students (student_id int, department_id int, mark int)', 'Truncate table Students', "insert into Students (student_id, department_id, mark) values ('2', '2', '650')", "insert into Students (student_id, department_id, mark) values ('8', '2', '650')", "insert into Students (student_id, department_id, mark) values ('7', '1', '920')", "insert into Students (student_id, department_id, mark) values ('1', '1', '610')", "insert into Students (student_id, department_id, mark) values ('3', '1', '530')"]
{"mssql": ["Create table Students (student_id int, department_id int, mark int)"], "oraclesql": ["Create table Students (student_id int, department_id int, mark int)"], "database": true, "mysql": ["Create table If Not Exists Students (student_id int, department_id int, mark int)"], "name": "compute_rating", "pythondata": ["Students = pd.DataFrame([], columns=['student_id', 'department_id', 'mark']).astype({'student_id':'Int64', 'department_id':'Int64', 'mark':'Int64'})"], "postgresql": ["Create table If Not Exists Students (student_id int, department_id int, mark int)"], "database_schema": {"Students": {"student_id": "INT", "department_id": "INT", "mark": "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']