ผู้เขียน หัวข้อ: มีสถานีไหนมีรายงานเกี่ยวกับงานกายภาพบ้างครับ  (อ่าน 2847 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ auing

  • Full Member
  • ***
  • กระทู้: 152
  • Respect: 0
    • ดูรายละเอียด
ขออนุญาตขอตัวอย่างรายงานเกี่ยวกับงานกายภาพบำบัดด้วยครับ
เช่น ใช้ไม้ค้ำยันให้ผู้ป่วยกี่อันแล้วรถเข็นกี่คันประมาณนี้ครับ..ขอบคุณครับ
์Nophadon Promsuวรรณ
็HosXP version 3.57.11.5
santisuk Hos.

ออฟไลน์ nongtan

  • Full Member
  • ***
  • กระทู้: 106
  • Respect: +1
    • ดูรายละเอียด
0
ผมใช้แบบนี้อยู่ครับ
select o.vstdate,o.icode,nd.name,count(o.icode) as counticode
,sum(o.qty) as sumqty,sum(o.sum_price) as sumsumprice
 from opitemrece o
 left outer join nondrugitems nd on nd.icode=o.icode
 where o.vstdate between "2012-10-01" and "2012-10-20"
       and o.icode in(select icode from nondrugitems where income="14") and o.icode<>"3904956"
 group by o.icode
 order by o.icode
ชญานนท์ ร.พ. จิตเวชสงขลาราชนครินทร์
Master(กำลังปลด) : DELL  Ram 32GB HDD-SATA CentOS7MariaDB+TokuDB 10.1.14
Slave1 : HP Ram 8 GB CentOS7 MariaDB+TokuDB 10.1.14
Slave2 : Lenovo Ram 32GB HDD-SAS 400GB 4ลูก  CentOS7  กำลังลง MariaDB+TokuDB แต่ยังไม่ผ่าน
ขึ้นระบบโดย BMS Team เมื่อ 18พ.ค.52
HOSXP 3.

ออฟไลน์ auing

  • Full Member
  • ***
  • กระทู้: 152
  • Respect: 0
    • ดูรายละเอียด
0
ผมใช้แบบนี้อยู่ครับ
select o.vstdate,o.icode,nd.name,count(o.icode) as counticode
,sum(o.qty) as sumqty,sum(o.sum_price) as sumsumprice
 from opitemrece o
 left outer join nondrugitems nd on nd.icode=o.icode
 where o.vstdate between "2012-10-01" and "2012-10-20"
       and o.icode in(select icode from nondrugitems where income="14") and o.icode<>"3904956"
 group by o.icode
 order by o.icode

ขอบคุณครับ ;D ;D
์Nophadon Promsuวรรณ
็HosXP version 3.57.11.5
santisuk Hos.