Syntax Analysis of SQL Select Sentence through Using LEX and YACC
Bing Sun · Journal of Nanjing Institute of Industry Technology · 2004
This paper mainly presents the principles of LEX and YACC and gives the BNF of select sentence. Using these tools,we can implement the lexical and syntax analysis of SQL select sentence and generate the syntax analysis tree.