Pergunta de entrevista da empresa Conduent

What is referential integrity and how to make query run faster.