J
js
Hi,
I use a select statement(select ID, min(NUM) from table where... group by
ID) to query table1 return:
ID NUM
1 10
3 20
and table2 have:
ID NUM
1
2
3
hwo to update the result to table2? can I do it in one query?
Thanks...
I use a select statement(select ID, min(NUM) from table where... group by
ID) to query table1 return:
ID NUM
1 10
3 20
and table2 have:
ID NUM
1
2
3
hwo to update the result to table2? can I do it in one query?
Thanks...