ignoring duplicate fields in tables