Returns the SQL statment depending on if the reference is deferred. By default, we mean the referenced table is not created yet.
String toSqlStringBy(bool deferred);