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 7690 *, 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
|
 |
 |
 |
 |
 |
|
| 423 |
|
|
2026-02-11 |
9 |
|
| 422 |
|
|
2026-02-11 |
10 |
|
| 421 |
|
|
2026-02-11 |
8 |
|
| 420 |
|
|
2026-02-09 |
8 |
|
| 419 |
|
|
2026-02-09 |
8 |
|
| 418 |
|
|
2026-02-09 |
9 |
|
| 417 |
|
|
2026-02-09 |
9 |
|
| 416 |
|
|
2026-02-09 |
11 |
|
| 415 |
|
|
2026-02-09 |
9 |
|
| 414 |
|
|
2026-02-09 |
13 |
|
|
|
|
|
|
|