optimizing JOIN queries
Merge branch 'master' of https://github.com/dginev/CorTeX