table_name
stringclasses 10
values | instruction_phrase
stringclasses 9
values | column_name
stringclasses 9
values | column_data_type
stringclasses 4
values | sql_prompt
stringclasses 10
values | sql_context
stringclasses 10
values | sql
stringclasses 10
values | sql_context_is_valid
bool 1
class | sql_context_validator_messages
sequencelengths 0
0
| sql_is_valid
bool 1
class | sql_validator_messages
sequencelengths 0
0
| judged_by_llm
bool 1
class | text_to_sql_llm_judge_results
dict |
---|---|---|---|---|---|---|---|---|---|---|---|---|
studios | Compose a SQL query to | studio_location | VARCHAR(255) | Compose a SQL query to select the studio_location from the studios | CREATE TABLE studios (
studio_location VARCHAR(255)
); | SELECT studio_location FROM studios; | true | [] | true | [] | true | {
"readability": {
"reasoning": "The query is well-formatted and easy to understand, but it could benefit from a comment explaining its purpose.",
"score": 3
},
"relevance": {
"reasoning": "The query perfectly meets the given instructions and context.",
"score": 4
},
"scalability": {
"reasoning": "The query is simple and should scale well, but it hasn't been tested with large datasets.",
"score": 3
},
"standards": {
"reasoning": "The query adheres strictly to SQL standards and follows best practices.",
"score": 4
}
} |
sponsors | Summon the records to | sponsor_id | INT | Summon the records to sponsor_id from sponsors | CREATE TABLE sponsors (
sponsor_id INT
); | SELECT sponsor_id FROM sponsors; | true | [] | true | [] | true | {
"readability": {
"reasoning": "The query is well-formatted and easy to understand, but could benefit from a comment explaining its purpose.",
"score": 3
},
"relevance": {
"reasoning": "The SQL query perfectly meets the instructions to retrieve sponsor_id from the sponsors table.",
"score": 4
},
"scalability": {
"reasoning": "The query is simple and efficient, making it highly scalable for larger datasets.",
"score": 4
},
"standards": {
"reasoning": "The query adheres strictly to SQL standards and follows best practices.",
"score": 4
}
} |
finance_compliance | Summon the records to | compliance_status | VARCHAR(50) | Summon the records to compliance_status from finance_compliance | CREATE TABLE finance_compliance (
compliance_status VARCHAR(50)
); | SELECT compliance_status FROM finance_compliance; | true | [] | true | [] | true | {
"readability": {
"reasoning": "The query is well-formatted and easy to understand, but it could benefit from a comment explaining its purpose.",
"score": 3
},
"relevance": {
"reasoning": "The SQL query perfectly meets the instructions and context, retrieving the required 'compliance_status' column from the 'finance_compliance' table.",
"score": 4
},
"scalability": {
"reasoning": "The query is simple and should scale well, but it's not using any explicit techniques to optimize for large datasets.",
"score": 3
},
"standards": {
"reasoning": "The query adheres strictly to SQL standards and follows best practices for simplicity and clarity.",
"score": 4
}
} |
requirements | Fetch the | requirement_date | DATE | Fetch the requirement_date from requirements | CREATE TABLE requirements (
requirement_date DATE
); | SELECT requirement_date FROM requirements; | true | [] | true | [] | true | {
"readability": {
"reasoning": "The query is well-formatted and easy to understand, but could benefit from a comment explaining its purpose.",
"score": 3
},
"relevance": {
"reasoning": "The SQL query perfectly meets the instructions and database context.",
"score": 4
},
"scalability": {
"reasoning": "The query is simple and efficient, making it highly scalable.",
"score": 4
},
"standards": {
"reasoning": "The query adheres strictly to SQL standards and best practices.",
"score": 4
}
} |
authors | Display the | author_name | VARCHAR(255) | Display the author_name from authors | CREATE TABLE authors (
author_name VARCHAR(255)
); | SELECT author_name FROM authors; | true | [] | true | [] | true | {
"readability": {
"reasoning": "The query is well-formatted and easy to understand, but it could benefit from a comment explaining its purpose.",
"score": 3
},
"relevance": {
"reasoning": "The SQL query perfectly meets the instructions and context, retrieving the author_name from the authors table.",
"score": 4
},
"scalability": {
"reasoning": "The query is simple and should scale well, but it's not explicitly optimized for large datasets.",
"score": 3
},
"standards": {
"reasoning": "The query adheres to SQL standards and follows best practices for simplicity and readability.",
"score": 4
}
} |
notifications | Generate a SQL query to | notification_type | VARCHAR(255) | Generate a SQL query to select the notification_type from notifications | CREATE TABLE notifications (
notification_type VARCHAR(255)
); | SELECT notification_type FROM notifications; | true | [] | true | [] | true | {
"readability": {
"reasoning": "The query is well-formatted and easy to understand, but could benefit from a comment explaining its purpose.",
"score": 3
},
"relevance": {
"reasoning": "The query perfectly meets the instruction to select the notification_type from the notifications table.",
"score": 4
},
"scalability": {
"reasoning": "The query is simple and should scale well, but it's hard to assess full scalability without knowing the database schema and indexes.",
"score": 3
},
"standards": {
"reasoning": "The query adheres strictly to SQL standards and follows best practices for simplicity and clarity.",
"score": 4
}
} |
compliance_checks | Fetch the entries to | compliance_status | VARCHAR(255) | Fetch the entries to select the compliance_status from the compliance_checks | CREATE TABLE compliance_checks (
compliance_status VARCHAR(255)
); | SELECT compliance_status FROM compliance_checks; | true | [] | true | [] | true | {
"readability": {
"reasoning": "The query is simple, well-formatted, and easy to understand, with no need for aliases or comments.",
"score": 4
},
"relevance": {
"reasoning": "The query perfectly meets the instructions and context, fetching the compliance_status from the compliance_checks table.",
"score": 4
},
"scalability": {
"reasoning": "The query is highly scalable, as it only involves a simple SELECT statement with no joins or complex operations.",
"score": 4
},
"standards": {
"reasoning": "The query strictly adheres to SQL standards and best practices, using standard syntax and a simple, efficient structure.",
"score": 4
}
} |
vulnerability_assessments | Formulate an SQL statement to | vulnerability_count | INT | Formulate an SQL statement to select the vulnerability_count from the vulnerability_assessments. | CREATE TABLE vulnerability_assessments (
vulnerability_count INT
); | SELECT vulnerability_count FROM vulnerability_assessments; | true | [] | true | [] | true | {
"readability": {
"reasoning": "The SQL code is well-formatted and easy to understand, but it could benefit from some comments for better maintainability.",
"score": 3
},
"relevance": {
"reasoning": "The SQL statement perfectly meets the instructions and context by selecting the vulnerability_count from the vulnerability_assessments table.",
"score": 4
},
"scalability": {
"reasoning": "The solution scales well, but it's a simple query, so there's no need for complex optimization techniques.",
"score": 3
},
"standards": {
"reasoning": "The query strictly adheres to SQL standards and follows best practices for a simple SELECT statement.",
"score": 4
}
} |
access_management | Construct a SQL statement for | user_role | VARCHAR(255) | Construct a SQL statement for selecting the user_role from access_management | CREATE TABLE access_management (
user_role VARCHAR(255)
); | SELECT user_role FROM access_management; | true | [] | true | [] | true | {
"readability": {
"reasoning": "The code is well-formatted and easy to understand, but could benefit from a comment explaining its purpose.",
"score": 3
},
"relevance": {
"reasoning": "The SQL statement perfectly meets the instructions and database context.",
"score": 4
},
"scalability": {
"reasoning": "The solution scales well, but could be improved by adding indexes on the user_role column if it's frequently queried.",
"score": 3
},
"standards": {
"reasoning": "The query adheres to SQL standards and follows best practices.",
"score": 4
}
} |
level_progressions | Determine the rows to | level_id | INT | Determine the rows to select exactly 1 'level_id' from 'level_progressions'. | CREATE TABLE level_progressions (
level_id INT
); | SELECT level_id FROM level_progressions LIMIT 1 | true | [] | true | [] | true | {
"readability": {
"reasoning": "The query is well-formatted and easy to understand, but it could benefit from a comment explaining its purpose.",
"score": 3
},
"relevance": {
"reasoning": "The SQL query perfectly meets the instructions and context by selecting exactly one 'level_id' from the 'level_progressions' table.",
"score": 4
},
"scalability": {
"reasoning": "The use of 'LIMIT 1' is efficient and scales well, but it's important to note that this query will only return one row, which might not be suitable for all use cases.",
"score": 3
},
"standards": {
"reasoning": "The query adheres strictly to SQL standards and follows best practices.",
"score": 4
}
} |
README.md exists but content is empty.
- Downloads last month
- 57