How can I Insert a list of arrays in SQL with WHERE condition

welcome to shbcf.ru