한국어

네트워킹

온누리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



조회 수 :
25903
등록일 :
2019.07.10
21:05:47 (*.214.125.21)
엮인글 :
http://webs.co.kr/index.php?document_srl=3320271&act=trackback&key=18d
게시글 주소 :
http://webs.co.kr/index.php?document_srl=3320271
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
37 Oracle 설치 Centos ,openSUSE,엔터프라이즈등 퍼온글 admin 2011-12-16 36333
36 오라클 아키텍쳐 admin 2011-12-13 35933
35 SQLite Databases using External DB admin 2014-02-14 35908
34 Browse SQLite data on the Android emulator admin 2014-02-15 34920
33 xhost and display admin 2011-12-16 34533
32 http://www.hoons.kr/ admin 2011-12-19 34472
31 (C#) ASP.NET MySQL Check Already Exists Add/Insert Record 프로그래밍 코드 admin 2011-12-19 34312
30 Android Simple Clean Good SQLite Database Tutorial 잘된 설명 admin 2014-02-13 33890
29 Oracle Preinstallation Tasks admin 2011-12-16 33184
28 sqlite DB copy admin 2014-02-14 33061
27 SQLite Database Browser file admin 2014-02-14 32515
26 Allowing MySQL Root Login from All IP Addresses : admin 2017-08-17 31840
25 OS에따른 Oracle 설치버전 admin 2013-04-08 31700
24 Oracle 10g Articles admin 2012-06-24 31699
23 SUPER OCM 1.8club admin 2012-12-18 30720
22 this is final answer assets sqlite Databases trouble copy External DB, check eclips admin 2014-02-18 29588
21 10gR2_sles10_install file admin 2014-03-18 25916
» 두테이블비교 한쪽에 없는 값 추출 mysql left right outer join 서브쿼리 값사용 admin 2019-07-10 25903
19 원격 IP로 MySQL(MariaDB)에 접속 방법 해법 설정 순서 admin 2019-06-19 24923
18 mysql 쿼리 로그 남기기 (실시간) admin 2015-04-15 24278
17 SQL Delete records using subqueries admin 2015-04-03 23734
16 Mysql privilege table GRANT SELECT,INSERT,UPDATE,DELETE ON db.table admin 2015-04-02 21502
15 linux command chmod 리눅스 명령어 가장 쉽게 이해하기 설명 사용자 구룹 타인 권한 admin 2017-09-05 20582
14 MySQL 데이터 베이스 백업 및 복구 방법 admin 2017-09-01 20286
13 mysql 로컬접속 풀고 특정 아이피 접속 허가 허락 가능 하게 설정 하는 방법 admin 2017-09-05 20143
12 Sqlite very detail easy tutorial I recommand this admin 2017-09-09 18996
11 숫자 날짜 문자열 문자 공간 JSON MySQL 자료형 총 정리 phpMyAdmin 자료형 admin 2018-03-26 18581
10 Installation of MySQL Database Server admin 2017-08-17 18125
9 oracle download install 오라클 다운로드 설치 admin 2018-05-29 16873
8 [SQL] 테이블 안의 컬럼 값 변경, 수정, UPDATE admin 2019-10-21 16754