Adding SQL

updated for rubicon