Skip to content

About

SQL investigation exercises using database queries to solve case-style scenarios.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Repository files navigation

Bandera y radar de CTF Arena

SQL Police Department

Resolví diez ejercicios de SQL con el esquema de un departamento ficticio.

Ver la portada · CTF Arena

Exercises

Exercise Solution
01 sql-police-department-1.sql
02 sql-police-department-2.sql
03 sql-police-department-3.sql
04 sql-police-department-4.sql
05 sql-police-department-5.sql
06 sql-police-department-6.sql
07 sql-police-department-7.sql
08 sql-police-department-8.sql
09 sql-police-department-9.sql
10 sql-police-department-10.sql

Concepts practised

  • SELECT, column projection and row selection.
  • WHERE, conditions and filtering.
  • DISTINCT for removing duplicate results.
  • ORDER BY for ascending and descending sorting.
  • LIMIT for restricting result size.

Run the exercises

Execute each query in a SQL engine against the schema provided by the exercise. The repository does not include a database dump or create the required tables, so the queries are not standalone.

Attribution

The queries and notes are personal practice work. The challenge statement, platform and data model belong to their respective owners.

Showcase and deployment

The source page is available in docs/index.html. It indexes the SQL solutions but does not run a database engine. GitHub Pages is configured through the repository workflow in .github/workflows/pages.yml.

License

See LICENSE.

About

SQL investigation exercises using database queries to solve case-style scenarios.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors