added: optimization case
Merge https://github.com/pavvell/sql