Skip to main content

SQL Challenge

Overview​

SQL Challenges evaluate a candidate's proficiency in writing queries, optimizing performance, and managing relational data models. These challenges are executed against live database instances.


Configuration Process​

Creating an SQL challenge now starts directly with challenge configuration.

Step 1: Basic Details​

Provide the core metadata and session constraints:

  • Name and Description: These details are visible to candidates during the assessment.
  • Difficulty and Duration: Set the expected complexity level and the total time allowed for the challenge.
  • Tags: Assign appropriate tags for easy categorization in the library.

Basic Details

Step 2: Database Selection​

Link the challenge to a pre-configured database environment. This database provides the schema and initial data the candidate will query against.

  • Custom Databases: Use a database created by your organization in the Library.
  • CoderScout Databases: Select from a range of expert-curated database environments.

Database Selection

Step 3: Script Configuration​

Define the operational and validation scripts for the challenge:

  • Setup Script (DML): (Optional) Provide SQL scripts that the candidate must run before writing the final SELECT query.
  • Evaluation Script: (Mandatory) Write the "Truth Query" (typically a SELECT statement). The system executes this query and compares its results with the result of the candidate's query to determine correctness and scoring.

Script Configuration​

Next steps​