This question already has an answer here:
- antlr4 sql grammar 1 answer
I need in simple ANSI SQL parser and am looking for some instant solution. Does antlr have SQL grammar out of the box or should I write it on my own from scratch?
Have a look at this site. It has a java solution
Here is an SQLite grammar for ANTLR4