input: def select_approved_rows():
      """ Select all rows from a table where the 'status' is 'approved'.
      >>> select_approved_rows()
      (('123', 'example', 'approved'), ('456', 'sample', 'approved'))
      """
     sql = "SELECT * FROM table WHERE status = 'approved'"
     cur.execute(sql)
     return cur.fetchall()
output:     sql = "SELECT * FROM table WHERE status = 'approved'"
      cur.execute(sql)
      return cur.fetchall()