CGI Interview Question

What is OOPs? What are Constraints in SQL?