create table daily_hit_counter ( day date not null, slot tinyint unsigned not null, cnt int unsigned not null, primary key (day, slot) );
update daily_hit_counter as c inner join ( select day, sum(cnt) as cnt , min(slot) as mslot from daily_hit_counter group by day) as x using(day) set c.cnt = if(c.slot = x.mslot, x.cnt, 0), c.slot = if (c.slot = x.mslot, 0, c.slot);<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:27:00 MySQL에서 이동 됨]</div>
update daily_hit_counter as c inner join ( select day, sum(cnt) as cnt , min(slot) as mslot from daily_hit_counter group by day) as x using(day) set c.cnt = if(c.slot = x.mslot, x.cnt, 0), c.slot = if (c.slot = x.mslot, 0, c.slot);<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:27:00 MySQL에서 이동 됨]</div>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 30 |
아우겐나이스
|
21년 전 | 4032 | |
| 29 |
아우겐나이스
|
21년 전 | 4430 | |
| 28 |
아우겐나이스
|
21년 전 | 3450 | |
| 27 | 21년 전 | 5814 | ||
| 26 | 21년 전 | 3086 | ||
| 25 | 21년 전 | 6065 | ||
| 24 | 18년 전 | 3640 | ||
| 23 | 21년 전 | 3627 | ||
| 22 | 21년 전 | 4237 | ||
| 21 | 21년 전 | 3811 | ||
| 20 | 21년 전 | 4210 | ||
| 19 | 21년 전 | 6668 | ||
| 18 | 21년 전 | 4728 | ||
| 17 | 21년 전 | 6972 | ||
| 16 | 21년 전 | 4162 | ||
| 15 | 21년 전 | 2617 | ||
| 14 | 21년 전 | 4960 | ||
| 13 | 21년 전 | 3392 | ||
| 12 |
Recluse
|
21년 전 | 3863 | |
| 11 |
아우겐나이스
|
21년 전 | 3560 | |
| 10 |
Recluse
|
21년 전 | 3386 | |
| 9 | 21년 전 | 3967 | ||
| 8 | 21년 전 | 5153 | ||
| 7 | 21년 전 | 4750 | ||
| 6 | 21년 전 | 5664 | ||
| 5 | 21년 전 | 4103 | ||
| 4 | 21년 전 | 4821 | ||
| 3 | 21년 전 | 4733 | ||
| 2 | 21년 전 | 3231 | ||
| 1 | 22년 전 | 4332 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기