SQL query improvement
Merge remote-tracking branch 'origin/master'