replate "table" with "relation"