Capgemini interview question

Implementation of consistency in sql