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 8050 *, 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
|
 |
 |
 |
 |
 |
|
| 63 |
|
|
2025-12-02 |
11 |
|
| 62 |
|
|
2025-12-02 |
13 |
|
| 61 |
|
|
2025-12-02 |
13 |
|
| 60 |
|
|
2025-12-02 |
12 |
|
| 59 |
|
|
2025-11-30 |
12 |
|
| 58 |
|
|
2025-11-30 |
14 |
|
| 57 |
|
|
2025-11-30 |
13 |
|
| 56 |
|
|
2025-11-29 |
10 |
|
| 55 |
|
|
2025-11-29 |
12 |
|
| 54 |
|
|
2025-11-28 |
11 |
|
|
|
|
|
|
|