DV Trading Interview Question

Design a SQL-like class in python can preforms methods on a dictionary that mimic SQL