"인문정보데이터베이스20201022"의 두 판 사이의 차이
| 33번째 줄: | 33번째 줄: | ||
join institute on program.institute_id=institute.institute_id | join institute on program.institute_id=institute.institute_id | ||
where phd=1 and state_name='미국' | where phd=1 and state_name='미국' | ||
| + | |||
| + | *join 숙제 | ||
| + | --1. 태국에서 한국학을 공부할 수 있는 대학 | ||
| + | select * from institute | ||
| + | join program on institute.institute_id=program.institute_id | ||
| + | where state_name='태국' and | ||
| + | language + major_ba + minor_ba + ma + phd > 1 | ||
| + | -- or | ||
| + | select * from institute | ||
| + | join program on institute.institute_id=program.institute_id | ||
| + | where state_name='태국' and | ||
| + | (language=1 or major_ba=1 or minor_ba=1 or ma=1 or phd=1) | ||
| + | |||
| + | --2. 일본 또는 중국의 한국학 연구자 중 강사, 전임강사, 조교수, 부교수, 초빙교수, 교수 신문의 사람이 참여하는 프로그램과 대학 | ||
| + | select institute_name, program_name, affiliation.* from affiliation | ||
| + | join program on affiliation.program_id=program.program_id | ||
| + | join institute on program.institute_id=institute.institute_id | ||
| + | where title in ('강사', '전임강사', '조교수', '부교수', '초빙교수', '교수') | ||
| + | and state_name in ('일본', '중국') | ||
| + | |||
| + | |||
| + | *숙제 | ||
| + | 1. 태국에서 한국학을 공부할 수 있는 대학 | ||
| + | 2. 일본 또는 중국의 한국학 연구자 중 강사, 조교수, 교수 초빙교수인 사람이 참여하는 프로그램과 대학 | ||
| + | 3. 2000년 이후에 설치된 한국학 프로그램, 어느 대학? | ||
| + | 4. 중국에 있는 한국학 라이브러리 | ||
| + | 5. 중국인 연구자의 홈페지와 소속 프로그램 | ||
| + | 6. 1983년에 한국학 프로그램이 설치된 대학 | ||
| + | 7. 미국에서 한국학 저널을 간행하는 대학 및 그 대학 소속 연구자 | ||
| + | 8. 독일에서 한국학 프로그램이 개설된 대학을 프로그램 개설 연도 순으로 나열 | ||
2020년 10월 22일 (목) 11:32 기준 최신판
- 이름 바꾸기
use class2020 select * from sys.tables select * from jdcDomainNode update jdcDomainNode set label=N'강녕전(康寧殿)' where id='강녕전' select * from jdcDomainNode where label like'%(%)'
- table 만들기
create table jdcDomainNode( id nvarchar(40) not NUll, class nvarchar(40) NUll, groupName nvarchar(40) NUll, partName nvarchar(40) NUll, label nvarchar(80) NUll, infoUrl nvarchar(256) NUll, iconUrl nvarchar(256) NUll, note nvarchar(256) NUll primary key(id) )
- join 만들어보기
use class2020
select * from institute select * from program select * from library select * from journal select * from person select * from affiliation
select institute_name, program_name from program join institute on program.institute_id=institute.institute_id where phd=1 and state_name='미국'
- join 숙제
--1. 태국에서 한국학을 공부할 수 있는 대학 select * from institute join program on institute.institute_id=program.institute_id where state_name='태국' and language + major_ba + minor_ba + ma + phd > 1 -- or select * from institute join program on institute.institute_id=program.institute_id where state_name='태국' and (language=1 or major_ba=1 or minor_ba=1 or ma=1 or phd=1)
--2. 일본 또는 중국의 한국학 연구자 중 강사, 전임강사, 조교수, 부교수, 초빙교수, 교수 신문의 사람이 참여하는 프로그램과 대학 select institute_name, program_name, affiliation.* from affiliation join program on affiliation.program_id=program.program_id join institute on program.institute_id=institute.institute_id where title in ('강사', '전임강사', '조교수', '부교수', '초빙교수', '교수') and state_name in ('일본', '중국')
- 숙제
1. 태국에서 한국학을 공부할 수 있는 대학 2. 일본 또는 중국의 한국학 연구자 중 강사, 조교수, 교수 초빙교수인 사람이 참여하는 프로그램과 대학 3. 2000년 이후에 설치된 한국학 프로그램, 어느 대학? 4. 중국에 있는 한국학 라이브러리 5. 중국인 연구자의 홈페지와 소속 프로그램 6. 1983년에 한국학 프로그램이 설치된 대학 7. 미국에서 한국학 저널을 간행하는 대학 및 그 대학 소속 연구자 8. 독일에서 한국학 프로그램이 개설된 대학을 프로그램 개설 연도 순으로 나열