0
结合这三个查询在一行我有这些Postgres的SQL中,是在某些while
环之间:Postgres里
while (.......) {
...
$runStatement = 'update products set abc = "'.data[0].'" where abc = "'.data[1].'";';
...
}
while (.......) {
...
$runStatement = 'update products set xyz = "'.data[0].'" where xyz = "'.data[1].'";';
...
}
while (.......) {
...
$runStatement = 'update extra_products set abc = "'.data[0].'" where abc = "'.data[1].'";';
...
}
,其中每个循环,data
实际上是从相同的阵列读取。
谢谢。