postscript
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 = 'postscript' Select Top 10 *, 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 = 'postscript' order by a.StepNo desc, a.Step, a.inDate desc
PostScript
 |
|
|
|
 |
 |
 |
 |
 |
|
| 3 |
|
|
2020-03-07 |
424 |
|
|
|
|
| 2 |
|
金治國 |
2010-08-01 |
2328 |
|
|
|
|
| 1 |
|
곽노 |
2009-01-31 |
5734 |
|
|
|
|
|
|
|
|
|
|