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 8070 *, 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
|
 |
 |
 |
 |
 |
|
| 43 |
|
|
2025-11-26 |
11 |
|
| 42 |
|
|
2025-11-26 |
12 |
|
| 41 |
|
|
2025-11-26 |
13 |
|
| 40 |
|
|
2025-11-25 |
12 |
|
| 39 |
|
|
2025-11-25 |
12 |
|
| 38 |
|
|
2025-11-25 |
12 |
|
| 37 |
|
|
2025-11-21 |
13 |
|
| 36 |
|
|
2025-11-21 |
12 |
|
| 35 |
|
|
2025-11-20 |
13 |
|
| 34 |
|
|
2025-11-20 |
10 |
|
|
|
|
|
|
|