8 lines
184 B
MySQL
8 lines
184 B
MySQL
|
begin;
|
||
|
insert into teamshalf
|
||
|
select yearid, null, teamid, half, null, null, "rank", sum(g), sum(w), sum(l)
|
||
|
from managershalf
|
||
|
where yearid = 1892
|
||
|
group by yearid, teamid, half;
|
||
|
commit;
|