[SQL] Add support for parsing indexing into arrays in SQL.