IBM Interview Question

Write a Calculator program(any language), Joins in SQL.