Sigma Computing interview question

Simulate basic SQL lookups with a hashmap/dictionary.