한국어

네트워킹

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


opensips db 의 subscriber 테이블 와 location  테이블 의 username 값 비교 location 테이블에만 잇는 username 추룰


SELECT * from opensips.subscriber a RIGHT OUTER  JOIN ( SELECT username , contact from location where MID(user_agent,1,17) = 'Sipdroid/3.8.01.2') b on a.username = b.username where a.username is null;


참조


SELECT *  
  FROM forum_cat c LEFT JOIN 
       (SELECT t.cat_id, 
               p.topic_id, 
               t.title, 
               p.id, 
               p.body, 
               MAX(p.`date`) AS `date`, 
               p.author_id, 
               u.username
          FROM forum_post p INNER JOIN
               forum_topic t ON t.id = p.topic_id INNER JOIN
               `user` u ON u.user_id = p.author_id
         GROUP BY t.cat_id) d ON d.cat_id = c.id
 WHERE c.main_cat = 1
 ORDER BY c.list_no



create table tableA ( EMPNO int)
create table tableB ( EMPNO int)

insert into tableA values (1)
insert into tableA values (2)
insert into tableA values (3)
insert into tableA values (4)
insert into tableA values (5)

insert into tableB values (1)
insert into tableB values (2)
insert into tableB values (3)
insert into tableB values (4)
insert into tableB values (7)

 -- A 테이블에만 존재하는 항목
select A.EMPNO
from tableA A left outer join tableB B on A.EMPNO=B.EMPNO
where B.EMPNO is null

-- B 테이블에만 존재하는 항목
select B.EMPNO
from tableA A right outer join tableB B on A.EMPNO=B.EMPNO
where A.EMPNO is null

-- A, B 테이블에 서로 없는것을 동시에
select A.EMPNO
from tableA A left outer join tableB B on A.EMPNO=B.EMPNO
where B.EMPNO is null

UNION ALL

select B.EMPNO
from tableA A right outer join tableB B on A.EMPNO=B.EMPNO
where A.EMPNO is null

 -- 다른 방법으로  (A, B 테이블에 서로 없는것을 동시에)
select isnull(A.EMPNO,B.EMPNO)
from tableA A full outer join tableB B on A.EMPNO=B.EMPNO
where B.EMPNO is null or A.EMPNO is null



조회 수 :
26544
등록일 :
2019.07.10
21:05:47 (*.214.125.21)
엮인글 :
http://webs.co.kr/index.php?document_srl=3320271&act=trackback&key=638
게시글 주소 :
http://webs.co.kr/index.php?document_srl=3320271
List of Articles
번호 제목 글쓴이 조회 수sort 추천 수 날짜
67 Java && Excel 연동 JAVA 자바로 엑셀을 핸들링 할 수 있는 방법 admin 193806   2011-12-19
 
66 Upgrade Oracle from 10.2.0.1 To 10.2.0.4 (Windows) admin 165185   2012-03-06
 
65 MySQL에 원격 접속 허용 여러가지 아이피 아이피대역으로 admin 128439   2014-04-02
 
64 Upgrade Oracle 10g Release 2 from 10201 to 10204 admin 111295   2012-03-05
 
63 centos 6.2 oracle 10g 설치 admin 109141   2012-03-05
 
62 PreparedStatement mysql java 깔끔한설명 admin 106202   2013-10-26
 
61 Oracle Linux 에 Oracle DB 설치하기 admin 105067   2013-12-03
 
60 Oracle RHEL4+10G 10.2.0.1 설치 10.2.0.5 패치 admin 95654   2012-03-03
 
59 SQLite 개발가이드 데이터베이스의 성능 admin 93456   2014-02-10
 
58 Oracle Backup & Restore admin 89153   2012-02-07
 
57 android sqlite 사용하기 admin 88054   2014-02-10
 
56 OLE5 + 11G 설치 _silent mode admin 84699   2013-04-08
 
55 android - 다수의 Insert 수행시 속도 향상을 위한 팁 sQlite admin 82995   2014-02-10
 
54 RHEL4 + 10g 설치 _silent mode admin 81523   2013-04-08
 
53 mariadb CREATE USER CREATE USER statement creates new MariaDB accounts. admin 65016   2017-09-01
 
52 Android SQLite Database with Multiple Tables admin 50557   2014-02-13
 
51 MySQL Java tutorial admin 48714   2012-09-30
 
50 Connect Excel VBA to a MySQL database file admin 45732   2013-09-05
 
49 Oracle Backup & restore with RMAN 기본 admin 42562   2012-02-12
 
48 안드로이드 SQLite 속도 향상! insert Transaction admin 42167   2014-04-07
 
47 오라클 ACE가 해설하는 Oracle Backup & Recovery admin 41526   2012-02-07
 
46 Oracle 의 ASM 구조 알아보기.. admin 40722   2011-12-16
 
45 Oracle 의 ASM 구조 알아보기.. admin 40077   2011-12-13
 
44 기본 10g 설치의 리눅스 세팅에서 추가 해줘야하는 사항(윈도우) admin 39689   2012-06-24
 
43 Oracle ACE 로부터 배우기 admin 39547   2011-12-16
 
42 Configuring Oracle ASM disks in Oracle Enterprise Linux admin 38495   2013-04-20
 
41 CDR 추출 저장 Inner Join 사용 Sql 문 admin 38026   2013-02-05
 
40 SUSE Linux Enterprise Server 10 (Oracle 10g R2 (10.2.0.1)) file admin 37667   2012-03-09
 
39 Oracle 10G installation admin 37484   2011-12-13
 
38 WHERE 조건절 검색시 서브쿼리는 어떻게? admin 37371   2013-04-01