-
Notifications
You must be signed in to change notification settings - Fork 1
/
dbinit.sql
221 lines (189 loc) · 15.7 KB
/
dbinit.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
DROP database RBuddy;
CREATE database RBuddy;
use RBuddy;
CREATE TABLE IF NOT EXISTS Article (
idArticle INT NOT NULL,
URL VARCHAR(200) NULL,
dated DATE NOT NULL,
Title VARCHAR(150) NOT NULL,
Abstract VARCHAR(1500) NULL,
PRIMARY KEY (idArticle));
CREATE TABLE IF NOT EXISTS Author (
idAuthor INT NOT NULL,
firstName VARCHAR(45) NOT NULL,
lastName VARCHAR(45) NULL,
instituteName VARCHAR(45) NULL,
PRIMARY KEY (idAuthor));
CREATE TABLE IF NOT EXISTS Search (
articleID INT NOT NULL,
keyword VARCHAR(45) NOT NULL,
PRIMARY KEY (articleID, keyword),
CONSTRAINT fkArticle
FOREIGN KEY (articleID)
REFERENCES Article (idArticle)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
CREATE TABLE IF NOT EXISTS Medium (
Type VARCHAR(20) NOT NULL,
ISBN VARCHAR(45) NOT NULL,
Name VARCHAR(45) NOT NULL,
PRIMARY KEY (ISBN));
CREATE TABLE IF NOT EXISTS Published_In (
articleID INT NOT NULL,
ISBN VARCHAR(45) NOT NULL,
PRIMARY KEY (articleID, ISBN),
INDEX fkISBN_idx (ISBN ASC),
CONSTRAINT fkID
FOREIGN KEY (articleID)
REFERENCES Article (idArticle)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT fkISBN
FOREIGN KEY (ISBN)
REFERENCES Medium (ISBN)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
CREATE TABLE IF NOT EXISTS Refs (
articleID INT NOT NULL,
Reference VARCHAR(45) NOT NULL,
PRIMARY KEY (articleID, Reference),
CONSTRAINT fkAID
FOREIGN KEY (articleID)
REFERENCES Article (idArticle)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
CREATE TABLE IF NOT EXISTS Writes (
authorID INT NOT NULL,
articleID INT NOT NULL,
PRIMARY KEY (authorID, articleID),
INDEX fkArticle_idx (articleID ASC),
CONSTRAINT fkAuthor
FOREIGN KEY (authorID)
REFERENCES Author (idAuthor)
ON DELETE NO ACTION
ON UPDATE NO ACTION,
CONSTRAINT fkwriter
FOREIGN KEY (articleID)
REFERENCES Article (idArticle)
ON DELETE NO ACTION
ON UPDATE NO ACTION);
/* INSERT QUERIES */
insert into Article values(312315,'https://www.google.com?q=Citizenship+and+Science:+The+Connecting+Axes','2005-09-01','Citizenship and Science: The Connecting Axes','The purpose of the Citizenship and Science Exchange (CaSE) project was to enable pupils to critically evaluate the inter-related roles of Science and Citizenship. It also aspired to raise an awareness of the interdependencies that exist between communities in the Irish border region.');
insert into Article values(312316,'https://www.google.com?q=Pastoral Care in Schools: Promoting Positive Behaviour','2001-04-01','Pastoral Care in Schools: Promoting Positive Behaviour','This document provides guidance for staff to develop and review their policies and procedures surronding the way pupils behave in schools. It reflects strategies and examples of good practice to help promote and maintain positive behaviour in schools. There is also a section on developing an anti-bullying culture.');
insert into Article values(312317,'https://www.google.com?q=Schools for the Future: Funding, Strategy, Sharing','2006-12-01','Schools for the Future: Funding, Strategy, Sharing','The Review examines funding of the education system, in particular the strategic planning and organisation of the schools’ estate, taking account of the curriculum changes, including the wider provision for 14-19 year olds, and also demographic trends.');
insert into Article values(312319,'https://www.google.com?q=Gifted and talented children in (and out) of the classroom','2006-02-01','Gifted and talented children in (and out) of the classroom','This Literature Review report provides teachers with information and guidance on identifying gifted and talented children in their classroom. A guidance document addressing identification, whole school management and classroom strategies for educating these children will be published later this year. It also provides information on the particular issues faced by gifted and talented children.');
insert into Article values(312321,'https://www.google.com?q=Educational neuroscience and neuroscientific education: in Search of a mutual middle-way','2005-08-01','Educational neuroscience and neuroscientific education: in Search of a mutual middle-way','Cognitive neuroscientific research into learning, especially literacy and numeracy, is well into its second decade. The potential benefits to education, particularly for SEN, were also noted many years ago (Byrnes & Fox, 1998), viz that cognitive neuroscience might offer new data and a fresh perspective on some hitherto intractable educational problems, for example, why do some children not learn to read as easily as most; why doesn’t every child ‘get’ fractions (O’Boyle & Gill, 1998)? The responses of the education profession, especially in the UK, have been mixed. On the one hand, there are those ageing education academics who, after a lifetime of not understanding and disparaging all science, see no need to change their ways now. On the other hand, there are the ‘brain-based’ enthusiasts who hope that the current fads of left-right thinking, brain gym, etc., will address the complexities and daily challenges of the mixed-ability classroom (Goswami, 2004). A middle-way would seem to involve neuroscientific education for both groups so that education can shape a professionally informative educational neuroscience research agenda of the future. This paper discusses five arguments (Geake, 1998) in favour of the development of an educational neuroscience.');
insert into Article values(312322,'https://www.google.com?q=Teaching the nature of science in schools: what makes a lesson effective?','2002-09-01','Teaching the nature of science in schools: what makes a lesson effective?','The study on which this paper draws is one project within an ESRC funded network looking at evidence-based practice in science education (EPSE), and is concerned with the teaching of "ideas and evidence" in school science lessons. In an initial phase, a three round Delphi study (Dalkey et al. 1963) asked a panel of 23 individuals drawn from 5 communities with an interest in science education – scientists, philosophers of science, sociologists of science, science educators and science teachers – about aspects of the nature of science that they felt should be part of the compulsory school science curriculum.');
insert into Article values(312323,'https://www.google.com?q=The Recruitment and Retention of Teachers in Post-Primary Schools in Northern Ireland','2006-09-01','The Recruitment and Retention of Teachers in Post-Primary Schools in Northern Ireland','This survey sought to investigate anecdotal claims of a shortfall in the recruitment of teachers in certain subject areas by providing accurate and statistically reliable information on the issue. Focused on the post-primary school sector in Northern Ireland, the research considers the profile of teachers within subject departments, including those who are currently teaching subjects for which they are not qualified. The recruitment patterns and difficulties experienced by principals and the subsequent effect this has on curriculum planning were also examined.');
insert into Article values(312324,'https://www.google.com?q=Report of a Survey of Substitute Teaching and its Management in Northern Ireland','2004-04-01','Report of a Survey of Substitute Teaching and its Management in Northern Ireland','Following a review of substitute teaching by the Northern Ireland Audit Office (NIAO) in 2002, and by the House of Commons Committee of Public Accounts (PAC) in 2003, the Department of Education, Northern Ireland, requested the Education and Training Inspectorate (the Inspectorate) in the academic year 2003-2004 to inspect the work of substitute teachers, and the effectiveness of their management in schools. The number of nurseries and schools inspected as part of the survey of substitute teaching was 108, including 16 nurseries, seven special schools, 69 primary schools and 16 post-primary schools. Interviews were held with most of the substitute teachers whose work was inspected; these interviews centred on their experience of working as substitute teachers and issues arising. Furthermore, interviews were held with the principals of almost all of the nurseries and the schools to determine the nature and effectiveness of the schools’ management of substitute cover and issues arising.');
insert into Article values(312325,'https://www.google.com?q=The Induction and Early Professional Development of Beginning Teachers','2004-08-01','The Induction and Early Professional Development of Beginning Teachers','In Northern Ireland, the teacher competence model underpins the integrated approach to early teacher education. Since not all of the competences are acquired during initial teacher education, the stages of induction, the first year of teaching, and early professional development (EPD), the second and third years of teaching, are central to the continuing professional development (CPD) of beginning teachers. The Inspectorate visited 60 beginning teachers in schools.The visits also included discussions with principals, teacher-tutors and other key support personnel in the schools. In addition, the Inspectorate drew on evidence from schools’ inspections held during the two years of the survey.');
insert into Article values(312326,'https://www.google.com?q=GTCNI reviews of teacher competences and continuing professional development','2005-03-01','GTCNI reviews of teacher competences and continuing professional development','This report articulates a new and dynamic vision for teacher education and professional development and maps out a variety of professional pathways and in addition creates a vehicle to allow teachers to reflect meaningfully on their development needs and how these might be best addressed.');
insert into Author values (1, 'Lefty', 'Minmagh', 'Allama Iqbal Open University');
insert into Author values (2, 'Samaria', 'Fassbender', 'Universidad de Puerto Rico, Rio Pedras');
insert into Author values (3, 'Viviene', 'Gostall', 'College of Notre Dame of Maryland');
insert into Author values (4, 'Byrann', 'Kahan', 'Osaka Institute of Technology');
insert into Author values (5, 'Sharyl', 'Deverill', 'Gonabad University of Medical Sciences');
insert into Author values (6, 'Donnamarie', 'Argo', 'Fachhochschule Ravensburg-Weingarten');
insert into Author values (7, 'Stephine', 'Knapp', 'Zaporizhzhe National University');
insert into Author values (8, 'Gilli', 'Hendriksen', 'Payap University Chaiang Mai');
insert into Author values (9, 'Quent', 'Crumly', 'British University in Dubai');
insert into Author values (10, 'Lorrayne', 'Cane', 'Concordia College, Ann Arbor');
insert into Author values(11,'Charlotte', 'Holland',' School of Education Studies, DCU');
insert into Author values(12, 'Peter', 'McKenna',' School of Education Studies, DCU');
insert into Writes values (1, 312316);
insert into Writes values (2, 312317);
insert into Writes values (3, 312319);
insert into Writes values (4, 312321);
insert into Writes values (5, 312322);
insert into Writes values (6, 312323);
insert into Writes values (7, 312324);
insert into Writes values (8, 312325);
insert into Writes values (9, 312326);
insert into Writes values (10, 312325);
insert into Writes values (11, 312315);
insert into Writes values (12, 312315);
insert into Medium values ('Book', '331464823-5', 'Citizenship and Science');
insert into Medium values ('Conference', '354534477-0', 'Positivity in Schools');
insert into Medium values ('Journal', '035336430-4','Schools and the World');
insert into Medium values ('Book', '777840951-8', 'Gifted Children around the world');
insert into Medium values ('Conference', '504746422-9', 'Neuroscience and Education');
insert into Medium values ('Journal', '198351112-9', 'Nature');
insert into Medium values ('Conference', '917411380-1', 'Post Primary Teachers of Northern Ireland');
insert into Medium values ('Journal', '975720631-8', 'Northern Ireland Annual Reports');
insert into Medium values ('Conference', '186811065-6', 'Professional Development around the world');
insert into Medium values ('Journal', '894944533-6', 'Northern Ireland Annual Reports');
insert into Published_In values(312315,'331464823-5');
insert into Published_In values(312316,'354534477-0');
insert into Published_In values(312317,'035336430-4');
insert into Published_In values(312319,'777840951-8');
insert into Published_In values(312321,'504746422-9');
insert into Published_In values(312322,'198351112-9');
insert into Published_In values(312323,'917411380-1');
insert into Published_In values(312324,'975720631-8');
insert into Published_In values(312325,'186811065-6');
insert into Published_In values(312326,'894944533-6');
insert into Refs values(312315,'dblp');
insert into Refs values(312316,'dblp');
insert into Refs values(312317,'dblp');
insert into Refs values(312319,'dblp');
insert into Refs values(312321,'dblp');
insert into Refs values(312322,'dblp');
insert into Refs values(312323,'dblp');
insert into Refs values(312324,'dblp');
insert into Refs values(312325,'dblp');
insert into Refs values(312326,'dblp');
insert into Search values(312315,'Citizenship');
insert into Search values(312315,'Science');
insert into Search values(312315,'Connecting Axes');
insert into Search values(312316,'Pastoral');
insert into Search values(312316,'Care');
insert into Search values(312316,'School');
insert into Search values(312316,'Positive Behaviour');
insert into Search values(312317,'Schools');
insert into Search values(312317,'Future');
insert into Search values(312317,'Strategy');
insert into Search values(312317,'Sharing');
insert into Search values(312317,'Funding');
insert into Search values(312319,'classroom');
insert into Search values(312319,'Gifted');
insert into Search values(312319,'talented');
insert into Search values(312319,'children');
insert into Search values(312321,'Educational');
insert into Search values(312321,'neuroscience');
insert into Search values(312321,'neuroscientific');
insert into Search values(312321,'education');
insert into Search values(312321,'mutual');
insert into Search values(312321,'middle-way');
insert into Search values(312322,'Teaching');
insert into Search values(312322,'nature');
insert into Search values(312322,'science');
insert into Search values(312322,'schools');
insert into Search values(312322,'lesson');
insert into Search values(312322,'effective');
insert into Search values(312323,'Ireland');
insert into Search values(312323,'Northern');
insert into Search values(312323,'Recruitment');
insert into Search values(312323,'Retention');
insert into Search values(312323,'Teachers');
insert into Search values(312323,'Post-Primary');
insert into Search values(312323,'Schools');
insert into Search values(312324,'Report');
insert into Search values(312324,'Survey');
insert into Search values(312324,'Substitute');
insert into Search values(312324,'Teaching');
insert into Search values(312324,'Management');
insert into Search values(312324,'Northern');
insert into Search values(312324,'Ireland');
insert into Search values(312325,'Teachers');
insert into Search values(312325,'Beginning');
insert into Search values(312325,'Development');
insert into Search values(312325,'Professional');
insert into Search values(312325,'Early');
insert into Search values(312325,'Induction');
insert into Search values(312326,'GTCNI');
insert into Search values(312326,'reviews');
insert into Search values(312326,'teacher');
insert into Search values(312326,'competences');
insert into Search values(312326,'continuing');
insert into Search values(312326,'professional');
insert into Search values(312326,'development');