I have a list of strings:
setdata = cursor.execute("SELECT * from TABLE_NAME")
for s in setdata:
   searchid = s.Id
   summary = s.Summary
Output
   ['abuse', 'accuse', 'axis', 'decrease']
   ['crime', 'frodge']
I have to Insert the above output into another SQL table as:
sid  searchid     keywords
-----------------------------
1      122        abuse
2      122        accuse
3      122        axis
4      122        decrease
5      123        crime
6      123        frodge
How can I insert the data in this way?
 
    