code: def query_get_user_reports_and_votes(uid):
      
      query1 = """SELECT nb_votes_yes,
                         nb_votes_total,
                         nb_abuse_reports
                  FROM "cmtRECORDCOMMENT"
                  WHERE id_user=%s"""
      params1 = (uid,)
      res1 = run_sql(query1, params1)
      if len(res1) == 0:
          return ()
      nb_votes_yes = nb_votes_total = nb_abuse_reports = 0
      for cmt_tuple in res1:
          nb_votes_yes += int(cmt_tuple[0])
          nb_votes_total += int(cmt_tuple[1])
          nb_abuse_reports += int(cmt_tuple[2])
      return (nb_abuse_reports, nb_votes_yes, nb_votes_total)
docs: Retrieve total number of reports and votes of a particular user
      :param uid: user id
      :return: tuple (total_nb_reports, total_nb_votes_yes, total_nb_votes_total)
              if none found return ()