사용자 도구

사이트 도구


jaunt_maunal

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
jaunt_maunal [2018/07/25 03:06]
gsjung
jaunt_maunal [2021/04/13 06:54] (현재)
줄 29: 줄 29:
 <code> <code>
  select * from positions, devices where positions.deviceid = devices.id;  select * from positions, devices where positions.deviceid = devices.id;
 +</code>
 +
 +<code>
 +COPY (select * from positions p, devices d where p.deviceid=d.id AND d.uniqueid IN (SELECT uniqueid FROM devices WHERE uniqueid LIKE ######)) TO '#########' DELIMITER ';' CSV HEADER;
 +</code>
 +
 +<code>
 +select d.name, p.* from tc_positions p, tc_devices d where p.deviceid = d.id and d.id IN (select id from tc_devices where name=ANY('{ }'))
 </code> </code>
jaunt_maunal.1532488018.txt.gz · 마지막으로 수정됨: 2021/04/13 06:54 (바깥 편집)