Insert query with 10 records at at a time
i have two columns with name city, country .i want to insert two columns with one query.country name should be same but city names different.how can i insert with one query please help me ..thank oyu
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Nitin SontakkeRank #264 · 9.6K reputationPosted Dec 22, 2016, 12:52 AM EST
Abhishek ChadhaRank #402 · 6.2K reputationPosted Dec 20, 2016, 1:59 AM EST
MayankRank #4,018 · 371 reputationPosted Dec 22, 2016, 12:35 AM EST
Nigel FernandesRank #753 · 3.1K reputationPosted Jan 5, 2017, 4:04 PM EST
MayankRank #4,018 · 371 reputationPosted Jan 6, 2017, 2:30 AM EST
INSERTINTOTable(field1, field2)VALUES('string1','string2'),('stringA','stringB')Bikesh SrivastavaRank #108 · 20.3K reputationPosted Jan 6, 2017, 9:09 AM EST
Aravindkumar Karunanithi83 reputationPosted Dec 19, 2016, 7:00 AM EST