If tablename not specified, use the one from the foreign table