Efficacious interview question

operations of queue. wap to travarse the queue. what is integrity constraint? write some code depends on sql.