session.query rows with contains a letter
#Query all users whose names contain the letter i, and the results include four records with IDs of 1, 2, 3, and 4
session.query(Account).filter(Account.user_name.like('%i%'))
#Query all title s for users ending with Manager, resulting in two records with IDs of 1 and 5
session.query(Account).filter(Account.title.like('%Manager'))
#Query all users whose names start with Da and the results include two records with IDs of 1 and 3
session.query(Account).filter(Account.user_name.like('Da%'))