12 %token LParen RParen Comma Sep Eof Create Table Insert Into Values
15 %type <bool> sqlcmdsep
21 { !Simplesqlcommon.execute_sql_command_val $1
25 { !Simplesqlcommon.execute_sql_command_val $1
33 Create Table Ident LParen colspeclist RParen
34 { Create_table ($3, $5) }
35 | Insert Into Ident LParen identlist1 RParen Values LParen sqlexprlist RParen
36 { Insert ($3, $5, $9) }
42 colspec Comma colspeclist
49 Ident Ident optcolspecsize
61 { ((int_of_sqlnum $2), 0) }
62 | LParen Num Comma Num RParen
63 { ((int_of_sqlnum $2), (int_of_sqlnum $4)) }
67 Ident Comma identlist1
74 sqlexpr Comma sqlexprlist
84 { let (a, b) = split_number $1 in SENum (a, b) }
87 | Ident LParen sqlexprlist RParen