Create two tables:
departments with dept_id INTEGER PRIMARY KEY and dept_name VARCHAR NOT NULLstaff with staff_id INTEGER PRIMARY KEY, name VARCHAR and dept_id INTEGER that must refer to an existing departmentThis question starts with an empty database.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.