Retool interview question

Write a SQL Evaluator in any language