Implementations of the SQL query optimizer and compiler (Incomplete)