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 8060 *, 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
|
 |
 |
 |
 |
 |
|
| 53 |
|
|
2025-11-28 |
12 |
|
| 52 |
|
|
2025-11-28 |
11 |
|
| 51 |
|
|
2025-11-28 |
10 |
|
| 50 |
|
|
2025-11-28 |
10 |
|
| 49 |
|
|
2025-11-28 |
9 |
|
| 48 |
|
|
2025-11-28 |
9 |
|
| 47 |
|
|
2025-11-27 |
9 |
|
| 46 |
|
|
2025-11-27 |
10 |
|
| 45 |
|
|
2025-11-27 |
11 |
|
| 44 |
|
|
2025-11-26 |
13 |
|
|
|
|
|
|
|