Skip to content

Commit 4a1f906

Browse files
committed
codespell
1 parent 6b429d5 commit 4a1f906

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

db-course/002-Tables.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"2. For each entity type, enforce 1:1 correspondence between the real-world entity and its representation in the table. How can you do it?\n",
7070
"3. In the real-world, we need to permanently associate a persistent identifier with each entity of the class. The database cannot do it by itself.\n",
7171
"4. The database can use the permanent identifier to enforce uniqueness in the table using a uniqueness constraint.\n",
72-
"5. A **primary key** is a unique, non-nullable index that is designated as the primary way to identify entitites in a table. Each tables must have a carefully chosen primary key. \n",
72+
"5. A **primary key** is a unique, non-nullable index that is designated as the primary way to identify entities in a table. Each tables must have a carefully chosen primary key. \n",
7373
"6. Secondary unique indexes can be nullable.\n",
7474
"\n",
7575
"\n",

db-course/003-Indexes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@
275275
"source": [
276276
"To make searches faster on fields other than the primary key or a foreign key, you can add a secondary index explicitly.\n",
277277
"\n",
278-
"Regular indexes are declared as `index(attr1, ..., attrN)` on a separate line anywhere in the table declration (below the primary key divide).\n",
278+
"Regular indexes are declared as `index(attr1, ..., attrN)` on a separate line anywhere in the table declaration (below the primary key divide).\n",
279279
"\n",
280280
"Indexes can be declared with unique constraint as `unique index (attr1, ..., attrN)`.\n"
281281
]

db-course/004-DatabaseSales.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
"(144,'Volvo Model Replicas, Co','Berglund','Christina ','0921-12 3555','Berguvsvägen 8',NULL,'Luleå',NULL,'S-958 22','Sweden',1504,'53100.00'),\n",
281281
"(145,'Danish Wholesale Imports','Petersen','Jytte ','31 12 3555','Vinbæltet 34',NULL,'Kobenhavn',NULL,'1734','Denmark',1401,'83400.00'),\n",
282282
"(146,'Saveley & Henriot, Co.','Saveley','Mary ','78.32.5555','2, rue du Commerce',NULL,'Lyon',NULL,'69004','France',1337,'123900.00'),\n",
283-
"(148,'Dragon Souveniers, Ltd.','Natividad','Eric','+65 221 7555','Bronz Sok.','Bronz Apt. 3/6 Tesvikiye','Singapore',NULL,'079903','Singapore',1621,'103800.00'),\n",
283+
"(148,'Dragon Souvenirs, Ltd.','Natividad','Eric','+65 221 7555','Bronz Sok.','Bronz Apt. 3/6 Tesvikiye','Singapore',NULL,'079903','Singapore',1621,'103800.00'),\n",
284284
"(151,'Muscle Machine Inc','Young','Jeff','2125557413','4092 Furth Circle','Suite 400','NYC','NY','10022','USA',1286,'138500.00'),\n",
285285
"(157,'Diecast Classics Inc.','Leong','Kelvin','2155551555','7586 Pompton St.',NULL,'Allentown','PA','70267','USA',1216,'100600.00'),\n",
286286
"(161,'Technics Stores Inc.','Hashimoto','Juri','6505556809','9408 Furth Circle',NULL,'Burlingame','CA','94217','USA',1165,'84600.00'),\n",
@@ -292,7 +292,7 @@
292292
"(172,'La Corne D\\'abondance, Co.','Bertrand','Marie','(1) 42.34.2555','265, boulevard Charonne',NULL,'Paris',NULL,'75012','France',1337,'84300.00'),\n",
293293
"(173,'Cambridge Collectables Co.','Tseng','Jerry','6175555555','4658 Baden Av.',NULL,'Cambridge','MA','51247','USA',1188,'43400.00'),\n",
294294
"(175,'Gift Depot Inc.','King','Julie','2035552570','25593 South Bay Ln.',NULL,'Bridgewater','CT','97562','USA',1323,'84300.00'),\n",
295-
"(177,'Osaka Souveniers Co.','Kentary','Mory','+81 06 6342 5555','1-6-20 Dojima',NULL,'Kita-ku','Osaka',' 530-0003','Japan',1621,'81200.00'),\n",
295+
"(177,'Osaka Souvenirs Co.','Kentary','Mory','+81 06 6342 5555','1-6-20 Dojima',NULL,'Kita-ku','Osaka',' 530-0003','Japan',1621,'81200.00'),\n",
296296
"(181,'Vitachrome Inc.','Frick','Michael','2125551500','2678 Kingston Rd.','Suite 101','NYC','NY','10022','USA',1286,'76400.00'),\n",
297297
"(186,'Toys of Finland, Co.','Karttunen','Matti','90-224 8555','Keskuskatu 45',NULL,'Helsinki',NULL,'21240','Finland',1501,'96500.00'),\n",
298298
"(187,'AV Stores, Co.','Ashworth','Rachel','(171) 555-1555','Fauntleroy Circus',NULL,'Manchester',NULL,'EC2 5NT','UK',1501,'136800.00'),\n",
@@ -335,7 +335,7 @@
335335
"(319,'Mini Classics','Frick','Steve','9145554562','3758 North Pendale Street',NULL,'White Plains','NY','24067','USA',1323,'102700.00'),\n",
336336
"(320,'Mini Creations Ltd.','Huang','Wing','5085559555','4575 Hillside Dr.',NULL,'New Bedford','MA','50553','USA',1188,'94500.00'),\n",
337337
"(321,'Corporate Gift Ideas Co.','Brown','Julie','6505551386','7734 Strong St.',NULL,'San Francisco','CA','94217','USA',1165,'105000.00'),\n",
338-
"(323,'Down Under Souveniers, Inc','Graham','Mike','+64 9 312 5555','162-164 Grafton Road','Level 2','Auckland ',NULL,NULL,'New Zealand',1612,'88000.00'),\n",
338+
"(323,'Down Under Souvenirs, Inc','Graham','Mike','+64 9 312 5555','162-164 Grafton Road','Level 2','Auckland ',NULL,NULL,'New Zealand',1612,'88000.00'),\n",
339339
"(324,'Stylish Desk Decors, Co.','Brown','Ann ','(171) 555-0297','35 King George',NULL,'London',NULL,'WX3 6FW','UK',1501,'77000.00'),\n",
340340
"(328,'Tekni Collectables Inc.','Brown','William','2015559350','7476 Moss Rd.',NULL,'Newark','NJ','94019','USA',1323,'43000.00'),\n",
341341
"(333,'Australian Gift Network, Co','Calaghan','Ben','61-7-3844-6555','31 Duncan St. West End',NULL,'South Brisbane','Queensland','4101','Australia',1611,'51600.00'),\n",
@@ -352,7 +352,7 @@
352352
"(361,'Kommission Auto','Josephs','Karin','0251-555259','Luisenstr. 48',NULL,'Münster',NULL,'44087','Germany',NULL,'0.00'),\n",
353353
"(362,'Gifts4AllAges.com','Yoshido','Juri','6175559555','8616 Spinnaker Dr.',NULL,'Boston','MA','51003','USA',1216,'41900.00'),\n",
354354
"(363,'Online Diecast Creations Co.','Young','Dorothy','6035558647','2304 Long Airport Avenue',NULL,'Nashua','NH','62005','USA',1216,'114200.00'),\n",
355-
"(369,'Lisboa Souveniers, Inc','Rodriguez','Lino ','(1) 354-2555','Jardim das rosas n. 32',NULL,'Lisboa',NULL,'1675','Portugal',NULL,'0.00'),\n",
355+
"(369,'Lisboa Souvenirs, Inc','Rodriguez','Lino ','(1) 354-2555','Jardim das rosas n. 32',NULL,'Lisboa',NULL,'1675','Portugal',NULL,'0.00'),\n",
356356
"(376,'Precious Collectables','Urs','Braun','0452-076555','Hauptstr. 29',NULL,'Bern',NULL,'3012','Switzerland',1702,'0.00'),\n",
357357
"(379,'Collectables For Less Inc.','Nelson','Allen','6175558555','7825 Douglas Av.',NULL,'Brickhaven','MA','58339','USA',1188,'70700.00'),\n",
358358
"(381,'Royale Belge','Cartrain','Pascale ','(071) 23 67 2555','Boulevard Tirou, 255',NULL,'Charleroi',NULL,'B-6000','Belgium',1401,'23500.00'),\n",

db-course/007-Aggregation-HW.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@
14181418
" </tr>\n",
14191419
" <tr>\n",
14201420
" <td>282</td>\n",
1421-
" <td>Souveniers And Things Co.</td>\n",
1421+
" <td>Souvenirs And Things Co.</td>\n",
14221422
" <td>42251.51</td>\n",
14231423
" </tr>\n",
14241424
" <tr>\n",
@@ -1484,7 +1484,7 @@
14841484
" <tbody>\n",
14851485
" <tr>\n",
14861486
" <td>323</td>\n",
1487-
" <td>Down Under Souveniers, Inc</td>\n",
1487+
" <td>Down Under Souvenirs, Inc</td>\n",
14881488
" <td>75020.13</td>\n",
14891489
" </tr>\n",
14901490
" <tr>\n",
@@ -1511,7 +1511,7 @@
15111511
"</table>"
15121512
],
15131513
"text/plain": [
1514-
"[(323, 'Down Under Souveniers, Inc', Decimal('75020.13')),\n",
1514+
"[(323, 'Down Under Souvenirs, Inc', Decimal('75020.13')),\n",
15151515
" (141, 'Euro+ Shopping Channel', Decimal('46895.48')),\n",
15161516
" (209, 'Mini Caravy', Decimal('35157.75')),\n",
15171517
" (496, \"Kelly's Gift Shop\", Decimal('30253.75')),\n",

db-course/007-Aggregation.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@
411411
"2. With `GROUP BY`, the grouping attributes become the new primary key of the result. \n",
412412
"3. Do not mix aggregated and non-aggregated values in the result with or without a `GROUP BY`.\n",
413413
"4. `HAVING` plays the same role as the `WHERE` clause in a nesting outer query so it can use the output of the aggregation functions.\n",
414-
"5. `LEFT JOIN` is often follwed with a `GROUP BY` by the primary key attributes of the left table. In this scenario the entities in the right table are aggregated for each matching row in the left table.\n"
414+
"5. `LEFT JOIN` is often followed with a `GROUP BY` by the primary key attributes of the left table. In this scenario the entities in the right table are aggregated for each matching row in the left table.\n"
415415
]
416416
},
417417
{

db-course/QuizSystem.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@
831831
"text/plain": [
832832
"*subject_id subject_name \n",
833833
"+------------+ +------------+\n",
834-
"DaSy Database Syste\n",
834+
"DaSy Database System\n",
835835
"ML Machine Learni\n",
836836
"SciViz Scientific Vis\n",
837837
" (Total: 3)"

0 commit comments

Comments
 (0)