changing queryies to fit new naming schema
Merge branch 'master' of https://github.com/nmbook/csc296s14-dbsys-tams