"20201029"의 두 판 사이의 차이
(새 문서: ==확장된 join~=== --2b. 일본 또는 중국의 한국학 연구자 중 -- 강사, 전임강사, 조교수, 부교수, 초빙교수, 교수 신분의 사람이 참여하는 -...) |
(→확장된 join~=) |
||
| 1번째 줄: | 1번째 줄: | ||
==확장된 join~=== | ==확장된 join~=== | ||
| − | --2b. 일본 또는 중국의 한국학 연구자 중 | + | --2b. 일본 또는 중국의 한국학 연구자 중 |
| − | -- | + | -- 강사, 전임강사, 조교수, 부교수, 초빙교수, 교수 신분의 사람이 참여하는 |
| − | -- | + | -- 프로그램과 대학 |
| − | -- | + | -- 그리고, 그 사람의 전화번화와 |
| − | *테이블의 혼돈이 있을 경우 institute.institute_id 등의 '''테이블의 이름'''을 밝혀줘야함. | + | *테이블의 혼돈이 있을 경우 institute.institute_id 등의 '''테이블의 이름'''을 밝혀줘야함. |
| − | select institute_name, program_name, title, affiliation.person_name, person.phone, person.email from affiliation | + | select institute_name, program_name, title, affiliation.person_name, person.phone, person.email from affiliation |
| − | join program on affiliation.program_id=program.program_id | + | join program on affiliation.program_id=program.program_id |
| − | join institute on program.institute_id=institute.institute_id | + | join institute on program.institute_id=institute.institute_id |
| − | join person on affiliation.person_name=person.person_name | + | join person on affiliation.person_name=person.person_name |
| − | where title in ('강사', '전임강사', '조교수', '부교수', '초빙교수', '교수') | + | where title in ('강사', '전임강사', '조교수', '부교수', '초빙교수', '교수') |
| − | and state_name in ('일본', '중국') | + | and state_name in ('일본', '중국') |
2020년 10월 29일 (목) 09:33 판
확장된 join~=
--2b. 일본 또는 중국의 한국학 연구자 중 -- 강사, 전임강사, 조교수, 부교수, 초빙교수, 교수 신분의 사람이 참여하는 -- 프로그램과 대학 -- 그리고, 그 사람의 전화번화와
*테이블의 혼돈이 있을 경우 institute.institute_id 등의 테이블의 이름을 밝혀줘야함.
select institute_name, program_name, title, affiliation.person_name, person.phone, person.email from affiliation
join program on affiliation.program_id=program.program_id
join institute on program.institute_id=institute.institute_id
join person on affiliation.person_name=person.person_name
where title in ('강사', '전임강사', '조교수', '부교수', '초빙교수', '교수')
and state_name in ('일본', '중국')