Q&A for professional and enthusiast programmers
SELECT * FROM votes join votetypes on votes.votetypeid = votetypes.id where UserID=15497888