input: def select_approved_rows():
      """
      Selects all rows from a table where the 'status' is 'approved'.
      >>> select_approved_rows()
      [(1, 'approved', 'data1'), (2, 'approved', 'data2')]
      """
      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()