I’m looking for a SQL parser written in Ruby. The parser should handle
the full SQL92 spec, including subselects and the like. I’m only
interested in SELECT-Statements though.
The parser should deliver at least
- a collection of column expressions including the alias, if specified
- the main from clause (including subselects, if any)
- the main where clause (including subselects, if any)
- the order clause
Does anybody know about such a parser? Any help is appreciated!