Select Count(*), CEILING(CAST(Count(*) AS FLOAT)/10) from Board as a left outer join Answer as b on a.idx=b.BoardID where a.inUse = 1 and a.kind = 'counsel' and a.UserID = '' Select Top 7620 *, a.idx as idx, b.idx as idx1, a.inDate as inDate, b.inDate as AnswerDate from Board as a left outer join Answer as b on a.idx=b.BoardID where a.inUse = 1 and a.kind = 'counsel' and a.UserID = '' order by a.StepNo desc, a.Step, a.inDate desc
text
|
 |
 |
 |
 |
 |
|
| 493 |
|
|
2026-03-11 |
9 |
|
| 492 |
|
|
2026-03-11 |
10 |
|
| 491 |
|
|
2026-03-11 |
11 |
|
| 490 |
|
|
2026-03-11 |
11 |
|
| 489 |
|
|
2026-03-11 |
10 |
|
| 488 |
|
|
2026-03-10 |
8 |
|
| 487 |
|
|
2026-03-10 |
9 |
|
| 486 |
|
|
2026-03-10 |
8 |
|
| 485 |
|
|
2026-03-10 |
11 |
|
| 484 |
|
|
2026-03-10 |
9 |
|
|
|
|
|
|
|