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