Patent ID: 11537608

Abstract:
A method includes generating a representation of each of a plurality of dialects of structured query language (SQL) statements, and receiving a first SQL statement. The first SQL statement is in a first dialect of the plurality of dialects. The method further includes generating a first output corresponding to the first SQL statement. The first output has a plurality of first data structures arranged in a first tree structure. Each of the plurality of first data structures corresponds to a portion of the first SQL statement. The method further include receiving a second SQL statement, the second SQL statement is in a second dialect of the plurality of dialects, and generating a second output corresponding to the second SQL statement. The second output has a plurality of second data structures arranged in a second tree structure. Each of the plurality of second data structures corresponds to a portion of the second SQL statement. A first data structure of the plurality of first data structures is the same as a second data structure of the plurality of second data structures.