Q&A for peer programmer code reviews
select * from votes join votetypes on votes.votetypeid = votetypes.id