Clear it in 3 steps
-
Start the environment
-
Investigate the target
-
Submit the flag
SQLite database /app/company.db has 3 tables: - employees (id, name, department_id, salary) - departments (id, name, manager_id) - projects (id, name, department_id, budget) Create a query that finds: 1. Departments with projects having budget >= 100000 2. Highest paid employee in those departments 3. That person's name and email address (email column) The email contains a hint for the flag.
JOIN employees with departments
Filter to departments above a budget threshold, then find the top-salary employee
Skipping the filter puts a different employee on top and gives a wrong answer