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 8090 *, 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
|
 |
 |
 |
 |
 |
|
| 23 |
|
|
2025-03-31 |
35 |
|
| 22 |
|
|
2025-03-29 |
47 |
|
| 21 |
|
|
2025-03-25 |
47 |
|
| 20 |
|
|
2025-03-23 |
45 |
|
| 19 |
|
|
2025-03-21 |
48 |
|
| 18 |
|
|
2025-03-03 |
50 |
|
| 17 |
|
|
2017-04-23 |
655 |
|
| 16 |
|
|
2017-04-20 |
612 |
|
| 15 |
|
|
2017-03-14 |
658 |
|
| 14 |
|
|
2017-03-13 |
634 |
|
|
|
|
|
|
|