모바일 오유 바로가기
http://m.todayhumor.co.kr
분류 게시판
베스트
  • 베스트오브베스트
  • 베스트
  • 오늘의베스트
  • 유머
  • 유머자료
  • 유머글
  • 이야기
  • 자유
  • 고민
  • 연애
  • 결혼생활
  • 좋은글
  • 자랑
  • 공포
  • 멘붕
  • 사이다
  • 군대
  • 밀리터리
  • 미스터리
  • 술한잔
  • 오늘있잖아요
  • 투표인증
  • 새해
  • 이슈
  • 시사
  • 시사아카이브
  • 사회면
  • 사건사고
  • 생활
  • 패션
  • 패션착샷
  • 아동패션착샷
  • 뷰티
  • 인테리어
  • DIY
  • 요리
  • 커피&차
  • 육아
  • 법률
  • 동물
  • 지식
  • 취업정보
  • 식물
  • 다이어트
  • 의료
  • 영어
  • 맛집
  • 추천사이트
  • 해외직구
  • 취미
  • 사진
  • 사진강좌
  • 카메라
  • 만화
  • 애니메이션
  • 포니
  • 자전거
  • 자동차
  • 여행
  • 바이크
  • 민물낚시
  • 바다낚시
  • 장난감
  • 그림판
  • 학술
  • 경제
  • 역사
  • 예술
  • 과학
  • 철학
  • 심리학
  • 방송연예
  • 연예
  • 음악
  • 음악찾기
  • 악기
  • 음향기기
  • 영화
  • 다큐멘터리
  • 국내드라마
  • 해외드라마
  • 예능
  • 팟케스트
  • 방송프로그램
  • 무한도전
  • 더지니어스
  • 개그콘서트
  • 런닝맨
  • 나가수
  • 디지털
  • 컴퓨터
  • 프로그래머
  • IT
  • 안티바이러스
  • 애플
  • 안드로이드
  • 스마트폰
  • 윈도우폰
  • 심비안
  • 스포츠
  • 스포츠
  • 축구
  • 야구
  • 농구
  • 바둑
  • 야구팀
  • 삼성
  • 두산
  • NC
  • 넥센
  • 한화
  • SK
  • 기아
  • 롯데
  • LG
  • KT
  • 메이저리그
  • 일본프로야구리그
  • 게임1
  • 플래시게임
  • 게임토론방
  • 엑스박스
  • 플레이스테이션
  • 닌텐도
  • 모바일게임
  • 게임2
  • 던전앤파이터
  • 마비노기
  • 마비노기영웅전
  • 하스스톤
  • 히어로즈오브더스톰
  • gta5
  • 디아블로
  • 디아블로2
  • 피파온라인2
  • 피파온라인3
  • 워크래프트
  • 월드오브워크래프트
  • 밀리언아서
  • 월드오브탱크
  • 블레이드앤소울
  • 검은사막
  • 스타크래프트
  • 스타크래프트2
  • 베틀필드3
  • 마인크래프트
  • 데이즈
  • 문명
  • 서든어택
  • 테라
  • 아이온
  • 심시티5
  • 프리스타일풋볼
  • 스페셜포스
  • 사이퍼즈
  • 도타2
  • 메이플스토리1
  • 메이플스토리2
  • 오버워치
  • 오버워치그룹모집
  • 포켓몬고
  • 파이널판타지14
  • 배틀그라운드
  • 기타
  • 종교
  • 단어장
  • 자료창고
  • 운영
  • 공지사항
  • 오유운영
  • 게시판신청
  • 보류
  • 임시게시판
  • 메르스
  • 세월호
  • 원전사고
  • 2016리오올림픽
  • 2018평창올림픽
  • 코로나19
  • 2020도쿄올림픽
  • 게시판찾기
  • 오유인페이지
    개인차단 상태
    사이키님의
    개인페이지입니다
    가입 : 10-09-25
    방문 : 1381회
    닉네임변경 이력
    회원차단
    회원차단해제
    게시물ID : programmer_10078
    작성자 : 사이키
    추천 : 2
    조회수 : 379
    IP : 116.34.***.148
    댓글 : 0개
    등록시간 : 2015/05/14 23:55:01
    http://todayhumor.com/?programmer_10078 모바일
    생각 정리용 낙서글...
    <div> <div style="font-family:gulim;line-height:21.6000003814697px;">의식의 흐름대로......</div> <div style="font-family:gulim;line-height:21.6000003814697px;"><br></div> <div style="font-family:gulim;line-height:21.6000003814697px;">1. 우선적으로 접속로그 테이블에서 5월 10일 이전 여시에서 링크를 타고 들어온</div> <div style="font-family:gulim;line-height:21.6000003814697px;">ip와 접속시각을 select 합니다.</div> <div style="font-family:gulim;line-height:21.6000003814697px;">=></div> <div style="font-family:gulim;line-height:21.6000003814697px;">select ip, regdate from visit_log where regdate < '2015-05-10'</div> <div style="font-family:gulim;line-height:21.6000003814697px;"><br></div> <div style="font-family:gulim;line-height:21.6000003814697px;">2. 1에서 select 된 결과를 로그인 로그테이블과 조인을 하는데 접속시각이후 1시간 이내에 로그인한</div> <div style="font-family:gulim;line-height:21.6000003814697px;">회원의 회원번호(mn)을 비교해서 추출합니다. 그러면 여시에서 링크를 타고온 적이 있는 오유 회원 리스트가 추출이 됩니다.</div> <div style="font-family:gulim;line-height:21.6000003814697px;">=></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><span style="line-height:21.6000003814697px;">select distinct mn from </span></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><span style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>(</span><span style="line-height:21.6000003814697px;font-size:9pt;">select ip, regdate from visit_log </span><span style="line-height:21.6000003814697px;font-size:9pt;">where regdate < '2015-05-10'</span><span style="font-size:9pt;line-height:21.6000003814697px;">) as A, </span></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><span style="line-height:21.6000003814697px;font-size:9pt;"><span class="Apple-tab-span" style="white-space:pre;"> </span>login_log as B </span></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><span style="font-size:9pt;line-height:21.6000003814697px;">where A.ip = B.ip and timestampdiff(hour, A.regdate, B.login_time) < 1</span></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><span style="line-height:21.6000003814697px;font-size:9pt;">요걸 임시 테이블 tempmember에다 넣어두고</span></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><br></div> <div style="font-family:gulim;line-height:21.6000003814697px;">3. 2에서 추출된 리스트를 중복제거 하고 추천 / 반대 로그테이블에서 이 리스트에 있는 회원이 공통적으로 </div> <div style="font-family:gulim;line-height:21.6000003814697px;">추천 / 반대를 한 글번호와 추천/반대 시각을 다시 추출합니다. </div> <div style="font-family:gulim;line-height:21.6000003814697px;">=> </div> <div style="font-family:gulim;line-height:21.6000003814697px;">추천 게시글번호, 추천인수(2인이상의 경우)</div> <div style="font-family:gulim;line-height:21.6000003814697px;"> <div style="line-height:21.6000003814697px;">select idx, cnt from (</div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>select idx, count(mn) as cnt from (</div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>select C.board_idx as idx, D.nm as mn from </div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>recommendation as C, </div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>tempmember as D </div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>where C.mn = D.mn</div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>) as E group by idx</div> <div style="line-height:21.6000003814697px;">)</div> <div style="line-height:21.6000003814697px;">as F where cnt > 2</div></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><span style="line-height:21.6000003814697px;font-size:9pt;">요걸 임시테이블 tempRecommBoardIdx 에다 넣어두고</span></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><span style="line-height:21.6000003814697px;font-size:9pt;"><br></span></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><span style="line-height:21.6000003814697px;font-size:9pt;">반대 게시글번호, 반대인수(2인이상의 경우)</span></div> <div style="font-family:gulim;line-height:21.6000003814697px;"> <div style="line-height:21.6000003814697px;">select idx, cnt from (</div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>select idx, count(mn) as cnt from (</div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>select C.board_idx as idx, D.nm as mn from </div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>opposition as C, </div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>tempmember as D </div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>where C.mn = D.mn</div> <div style="line-height:21.6000003814697px;"><span class="Apple-tab-span" style="white-space:pre;"> </span>) as E group by idx</div> <div style="line-height:21.6000003814697px;">)</div> <div style="line-height:21.6000003814697px;"><span style="line-height:21.6000003814697px;">as F where cnt > 2</span></div> <div style="line-height:21.6000003814697px;">요걸 임시테이블 tempOppoBoardIdx 에다 넣어두고</div></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><br></div> <div style="font-family:gulim;line-height:21.6000003814697px;">4. 3의 결과에서 추천과 반대가 공존하는 글번호를 제거 합니다. 여기서 여시출신 회원이 공통적으로 </div> <div style="font-family:gulim;line-height:21.6000003814697px;">추천/반대한 글이 추출됩니다.</div> <div style="font-family:gulim;line-height:21.6000003814697px;">=></div> <div style="font-family:gulim;line-height:21.6000003814697px;"> <div style="line-height:21.6000003814697px;">select distinct idx from </div> <div style="line-height:21.6000003814697px;">(SELECT A.idx FROM </div> <div style="line-height:21.6000003814697px;">tempRecommBoardIdx as A left join tempOppoBoardIdx as B on A.idx <> B.idx</div> <div style="line-height:21.6000003814697px;">union all</div> <div style="line-height:21.6000003814697px;">select B.idx from </div> <div style="line-height:21.6000003814697px;">tempRecommBoardIdx as A right join tempOppoBoardIdx as B on A.idx <> B.idx)</div> <div style="line-height:21.6000003814697px;">as C</div> <div style="line-height:21.6000003814697px;">이걸 임시테이블 doubtBoard 에다가 넣고</div></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><br></div> <div> <div style="font-family:gulim;line-height:21.6000003814697px;">5. 4의 결과에서 게시글별로 추천/반대 시각의 집중도를 조사하면 여시에서 추천/반대의 몰이표가 있는지를 </div> <div style="font-family:gulim;line-height:21.6000003814697px;">체크할수 있습니다.</div> <div style="font-family:gulim;line-height:21.6000003814697px;">=></div> <div> <div><font face="gulim"><span style="line-height:21.6000003814697px;">추천 몰이표 의심 글의 회원번호들과 추천시각</span></font></div> <div><font face="gulim"><span style="line-height:21.6000003814697px;">select A.board_idx, A.mn, A.regdate from recommendation as A,</span></font></div> <div><font face="gulim"><span style="line-height:21.6000003814697px;">tempmember as B</span></font></div> <div><font face="gulim"><span style="line-height:21.6000003814697px;">where A.board_idx = B.idx </span></font></div> <div><font face="gulim"><span style="line-height:21.6000003814697px;"><br></span></font></div> <div><font face="gulim"><span style="line-height:21.6000003814697px;">반대 몰이표 의심 글의 회원번호들과 추천시각</span></font></div> <div><font face="gulim"><span style="line-height:21.6000003814697px;">select A.board_idx, A.mn, A.regdate from opposition as A,</span></font></div> <div><font face="gulim"><span style="line-height:21.6000003814697px;">tempmember as B</span></font></div> <div><font face="gulim"><span style="line-height:21.6000003814697px;">where A.board_idx = B.idx </span></font></div></div> <div style="font-family:gulim;line-height:21.6000003814697px;"><br></div></div></div> <div style="font-family:gulim;line-height:21.6000003814697px;">아 갑자기 필받아서 머리속에 떠오른것들 정리....</div>

    이 게시물을 추천한 분들의 목록입니다.
    [1] 2015/05/15 00:54:03  112.171.***.117  햭  102953
    [2] 2015/05/15 17:58:54  175.114.***.66  푸른놀  212425
    푸르딩딩:추천수 3이상 댓글은 배경색이 바뀝니다.
    (단,비공감수가 추천수의 1/3 초과시 해당없음)

    죄송합니다. 댓글 작성은 회원만 가능합니다.

    번호 제 목 이름 날짜 조회 추천
    77
    [질문]컴퓨터 쿨링 질문드립니다.(본삭금) [7] 창작글본인삭제금지 사이키 16/06/30 10:09 53 0
    76
    간만에 나온 디바 4인궁 [1] 사이키 16/06/27 01:32 69 0
    75
    Gtx1070 조립시작합니다(공식복장 준수) [92] 사이키 16/06/24 19:34 239 18
    74
    1070 질렀습니다 사이키 16/06/24 16:36 171 2
    73
    컴터 vga 질문입니다. [1] 본인삭제금지 사이키 16/06/19 18:04 60 0
    72
    뻘쭘한 POTG 사이키 16/06/07 01:12 146 0
    71
    USB 헤드셋 마이크 볼륨 문제 해결법좀 알려주세요~(FORCE 3D) [1] 본인삭제금지 사이키 16/03/04 20:38 26 0
    70
    두산 임태훈 임의탈퇴네요 [1] 사이키 15/06/25 19:51 123 1
    69
    어제 세차했는데 [3] 사이키 15/06/25 19:12 82 0
    68
    오늘 삼성경기 dmb 채널이 어디인가요?? [1] 사이키 15/06/05 18:38 18 0
    67
    방문 횟수 600회 찍었어요 [1] 사이키 15/06/05 13:58 13 1
    66
    어머니 생신선물로 핸드백한개 해드릴려구 하는데요 [11] 사이키 15/06/05 11:10 72 1
    65
    오유SCV 재사용에 기본적으론 반대 의견입니다. [8] 사이키 15/06/03 22:45 66 0
    64
    다른분들에 비해 사소한 겁니다만 생활리듬 문제에요 [5] 본인삭제금지 사이키 15/05/24 20:40 24 0
    63
    돗자리 치우라고 열심히 소리지르는데 심판이 안봐요 사이키 15/05/23 20:17 111 0
    62
    여시대빵 저거 지금 탑시 고발 사태 그냥 알아서 하라는 얘기죠?? 맞죠? [11] 사이키 15/05/23 00:57 528 3
    61
    제목도 삭제합니다. 사이키 15/05/19 22:57 184 0
    60
    저기 오유는 광장입니다. [2] 사이키 15/05/19 01:20 114 7
    59
    여러분!! 제글이 현실이 되었습니다.!!!!!! 사이키 15/05/18 01:43 98 5
    58
    베오베는 언제나 짜릿하네요.. [6] 사이키 15/05/17 02:29 97 1
    57
    여시 오유 조작 데이터 분석 방법 건의 [1] 사이키 15/05/15 12:22 44 0
    56
    여시에서 탈퇴하는 사람들이 좀 있나보네요 [15] 사이키 15/05/15 02:54 238 1
    생각 정리용 낙서글... 사이키 15/05/14 23:55 17 2
    54
    데이터 분석중이신 백년해로워님께 건의 합니다. [5] 사이키 15/05/14 20:24 - -
    53
    삼팬으로써 대구구장에 배영수 현수막만 있는 이유를 설명드리면(아랫글 설) [2] 사이키 15/05/13 18:12 94 5
    52
    [공포] [5] 사이키 15/05/13 17:02 43 0
    51
    삼팬이지만 잘했다 권혁아 장하다... [2] 사이키 15/05/12 22:33 159 12
    50
    누군가 말했다 연봉협상때 당당해지라고 [5] 사이키 15/05/12 17:25 62 1
    49
    토요일 밤 10시 30분 [3] 사이키 15/05/09 22:33 63 1
    48
    이거 권혁 타석도 볼수 있는건가요???+_+ [5] 사이키 15/05/01 22:02 272 4
    [1] [2] [3] [4]
    단축키 운영진에게 바란다(삭제요청/제안) 운영게 게시판신청 자료창고 보류 개인정보취급방침 청소년보호정책 모바일홈