ต้องการ Query AdjRW มีจุดทศนิยม 4 หลักทำไงครับ
SELECT a.an,a.hn,a.pdx,a.dx0 as dx1,a.dx1 as dx2,a.dx2 as dx3,a.dx3 as dx4,a.dx4 as dx5,a.admdate_cut24 as los
,concat(day(a.regdate),"/",month(a.regdate),"/",year(a.regdate)+543) AS regdate
,concat(day(a.dchdate),"/",month(a.dchdate),"/",year(a.dchdate)+543) AS dchdate
,adjrwFROM an_stat a
left outer join ipt i on i.an=a.an
WHERE a.dchdate BETWEEN "2012-10-01" AND "2013-09-30"