create table dept (dept_id integer, dname varchar(20), INDEX dept_id_idx(dept_id)); create table emp(emp_id INTEGER, dept_id INTEGER, INDEX dept_id_idx(dept_id), ename varchar(20), salary numeric(6,2), FOREIGN KEY (dept_id) REFERENCES dept(dept_id));