DV Trading interview question

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