20201022

phj
이동: 둘러보기, 검색

--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. 독일에서 한국학 프로그램이 개설된 대학을 프로그램 개설 연도 순으로 나열
/*3.2000년 이후에 설치된 한국학 프로그램, 어느 대학?*/
select institute_name, establishment, state_name from institute 
join program on institute.institute_id=program.institute_id where establishment>=2000 


/*4.중국에 있는 한국학 라이브러리*/
select library_name, state_name from library 
join institute on institute.institute_id=library.institute_id where state_name='중국'


/*5.중국인 연구자의 홈페지와 소속 프로그램*/
select person.person_name, state_name, person.homepage, program_name from person
join affiliation on person.person_name=affiliation.person_name 
join program on affiliation.institute_id=program.institute_id 
join institute on affiliation.institute_id=institute.institute_id where state_name='중국'
/* ???중국에 대한 정보(state_name)는 있지만 국적에 대한 정보는? 중국에 있다고 모두 중국인은 아닌듯 함 */  


/*6.1983년에 한국학 프로그램이 설치된 대학*/
select institute_name, establishment from institute 
join program on institute.institute_id=program.institute_id where establishment=1983 


/*7.미국에서 한국학 저널을 간행하는 대학 및 그 대학 소속 연구자*/
select person.person_name, state_name, journal.journal_name from person
join affiliation on person.person_name=affiliation.person_name 
join journal on affiliation.institute_id=journal.institute_id 
join institute on affiliation.institute_id=institute.institute_id where state_name='미국'


/*8.독일에서 한국학 프로그램이 개설된 대학을 프로그램 개설 연도 순으로 나열*/
select establishment, institute_name, state_name,program_name from institute
join program on institute.institute_id=program.institute_id where state_name='독일'
order by establishment