PLSQL วิธี select in แบบหลาย Field
เคย select แล้ว where ด้วย คำสั่ง in
ซ้อน select ประมาณนี้
select * from tb1 where
tb1.id in (select tb2.id from tb2)
แล้วถ้าเกิดเรามี 2 field จะทำไง ?
สรุปคือทำตามนี้เลยครับ
select * from tb1 where
(tb1.id1,tb1.id2) in (select tb2.id1,tb2.id2 from tb2)
ประมาณนี้ครับ
Angular select set selected อย่างไร
Angular JS Query ข้อมูลจาก Database ผ่าน SQL ได้หรือไม่
JasperReport วิธีใช้งาน Build in Report Variable