I\'m new to backend dev and building a little social media app and I\'m trying to understand how to build smarter queries for my Postgres. I\'m using Express and Knex.