Capgemini Interview Question

Implementation of consistency in sql