modified the input and PSQL. Will create a new view that joins 3 of the ...

...same table to get what we want with the data.