Good work.
Here are my use cases of a SQL parser at application level.
- enumerate, add, delete conditions from WHERE clause.
- change ORDER BY.
- paging, LIMIT.
- turn an aggregate query into crosstab query.