SQL Challenges
Setup Environment
└─# mariadb -u root -p
Enter password:
...
Server version: 11.1.2-MariaDB Arch Linux
...
MariaDB [(none)]> CREATE DATABASE aurora;
Query OK, 1 row affected (0.001 sec)
MariaDB [(none)]> USE aurora;
Database changed
MariaDB [aurora]> SOURCE aurora.sql
...
Query OK, X rows affected (0.000 sec)
...
MariaDB [aurora]> SHOW TABLES;
+--------------------+
| Tables_in_aurora |
+--------------------+
| billing |
| credit_types |
| drugs |
| facilities |
| insurors |
| inventory |
| orders |
| patients |
| positions |
| positions_assigned |
| prescriptions |
| staff |
| suppliers |
| transactions |
+--------------------+
14 rows in set (0.000 sec)Aurora Compromise
Solution
Foreign Keys
Solution
Credit Compromise
Solution
Starypax
Solution
Transaction Approved
Solution
Genovex Profits
Solution
City Hoard
Solution
Order Up
Solution
Counting STARs
Solution
Clean Up on Aisle 5
Solution
SHAttered Dreams
Solution
Last updated