PA2 part1 sql in database text analysis