Allstate Interview Question

What are the 4 pillars of object oriented programming? How do you access a table in SQL?