SQL Parser and Generator