finished tweet queries in db.py