Added to WHERE in query

not finished!