Split RelationalSQL.scala for #226 preparation