input: def select_approved_rows():
     """ Select 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:     conn = sqlite3.connect('example.db')
      cur = conn.cursor()
      cur.execute("CREATE TABLE IF NOT EXISTS table (id INTEGER, status TEXT, data TEXT)")
      cur.execute("INSERT INTO table (id, status, data) VALUES (1, 'approved', 'data1')")
      cur.execute("INSERT INTO table (id, status, data) VALUES (2, 'approved', 'data2')")
      cur.execute("INSERT INTO table (id, status, data) VALUES (3, 'pending', 'data3')")
      conn.commit()