I have two List. first list element Name Age Sex and second list element test 10 female. I want to insert this data into database. In first list having MySQL Column and in second MySQL Column Values.I’m trying to make this query. INSERT INTO (LIST1) VALUES (List2) =>INSERT INTO table (name,age,sex) values (test,10,female) Is it possible? thanks
I have two List. first list element Name Age Sex and second list element
Share
How about this?
The
stris needed because that way, numbers are allowed to be in the list.Edit: I feel like you could add some effort into this yourself, but anyway. To add quotes, I’d change it to this: