fully functional sql parser v2