Started implementation of SQL