Test to parse SQL in a different way.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Fix comment read.
Improve loops.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>