Interpreting and Translating SQL to Relational Alegbra