Q: How do I create a table MANAGER ( EMP-NO, MANAGER) where MANAGER is a foreign key which references to EMP-NO in the same table ? Give the exact DDL.
AN:
First CREATE MANAGER table with EMP-NO as the primary key. Then ALTER it to define the foreign key.