BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: bbbas ที่ พฤษภาคม 28, 2014, 14:19:33 PM
-
สอบถามครับ..จากรูปถ้าผมต้องการเขียนคำสั่งให้แสดงรายการเฉพาะวันที่ 28 (ในกรอบสีแดง) โดยให้ฟิล์ว person_anc_classifying_item_name อยู่ในบรรทัดเดียวกัน ต้องเขียนคำสั่งอย่างไรครับ
select * from person_anc_classifying p
left join person_anc_classifying_item p1 on p1.person_anc_classifying_item_id=p.person_anc_classifying_item_id
where person_anc_id=" "
-
where update_datetime between "2014-05-28 00:00:00" and "2014-05-28 23:00:00"
-
where update_datetime between "2014-05-28 00:00:00" and "2014-05-28 23:00:00"
ได้แล้วครับ ขอบคุณครับ :) :) :)