I am also having the same problem how to convert natural language
queries into equivalent SQL queries.

I have search a lot n got few things like ANTLR can be used to define
rules in grammar and...