Skip to content

Commit

Permalink
codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
MilagrosMarin committed May 13, 2024
1 parent 6b429d5 commit 4a1f906
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion db-course/002-Tables.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"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",
"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",
"4. The database can use the permanent identifier to enforce uniqueness in the table using a uniqueness constraint.\n",
"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",
"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",
"6. Secondary unique indexes can be nullable.\n",
"\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion db-course/003-Indexes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
"source": [
"To make searches faster on fields other than the primary key or a foreign key, you can add a secondary index explicitly.\n",
"\n",
"Regular indexes are declared as `index(attr1, ..., attrN)` on a separate line anywhere in the table declration (below the primary key divide).\n",
"Regular indexes are declared as `index(attr1, ..., attrN)` on a separate line anywhere in the table declaration (below the primary key divide).\n",
"\n",
"Indexes can be declared with unique constraint as `unique index (attr1, ..., attrN)`.\n"
]
Expand Down
8 changes: 4 additions & 4 deletions db-course/004-DatabaseSales.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
"(144,'Volvo Model Replicas, Co','Berglund','Christina ','0921-12 3555','Berguvsvägen 8',NULL,'Luleå',NULL,'S-958 22','Sweden',1504,'53100.00'),\n",
"(145,'Danish Wholesale Imports','Petersen','Jytte ','31 12 3555','Vinbæltet 34',NULL,'Kobenhavn',NULL,'1734','Denmark',1401,'83400.00'),\n",
"(146,'Saveley & Henriot, Co.','Saveley','Mary ','78.32.5555','2, rue du Commerce',NULL,'Lyon',NULL,'69004','France',1337,'123900.00'),\n",
"(148,'Dragon Souveniers, Ltd.','Natividad','Eric','+65 221 7555','Bronz Sok.','Bronz Apt. 3/6 Tesvikiye','Singapore',NULL,'079903','Singapore',1621,'103800.00'),\n",
"(148,'Dragon Souvenirs, Ltd.','Natividad','Eric','+65 221 7555','Bronz Sok.','Bronz Apt. 3/6 Tesvikiye','Singapore',NULL,'079903','Singapore',1621,'103800.00'),\n",
"(151,'Muscle Machine Inc','Young','Jeff','2125557413','4092 Furth Circle','Suite 400','NYC','NY','10022','USA',1286,'138500.00'),\n",
"(157,'Diecast Classics Inc.','Leong','Kelvin','2155551555','7586 Pompton St.',NULL,'Allentown','PA','70267','USA',1216,'100600.00'),\n",
"(161,'Technics Stores Inc.','Hashimoto','Juri','6505556809','9408 Furth Circle',NULL,'Burlingame','CA','94217','USA',1165,'84600.00'),\n",
Expand All @@ -292,7 +292,7 @@
"(172,'La Corne D\\'abondance, Co.','Bertrand','Marie','(1) 42.34.2555','265, boulevard Charonne',NULL,'Paris',NULL,'75012','France',1337,'84300.00'),\n",
"(173,'Cambridge Collectables Co.','Tseng','Jerry','6175555555','4658 Baden Av.',NULL,'Cambridge','MA','51247','USA',1188,'43400.00'),\n",
"(175,'Gift Depot Inc.','King','Julie','2035552570','25593 South Bay Ln.',NULL,'Bridgewater','CT','97562','USA',1323,'84300.00'),\n",
"(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",
"(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",
"(181,'Vitachrome Inc.','Frick','Michael','2125551500','2678 Kingston Rd.','Suite 101','NYC','NY','10022','USA',1286,'76400.00'),\n",
"(186,'Toys of Finland, Co.','Karttunen','Matti','90-224 8555','Keskuskatu 45',NULL,'Helsinki',NULL,'21240','Finland',1501,'96500.00'),\n",
"(187,'AV Stores, Co.','Ashworth','Rachel','(171) 555-1555','Fauntleroy Circus',NULL,'Manchester',NULL,'EC2 5NT','UK',1501,'136800.00'),\n",
Expand Down Expand Up @@ -335,7 +335,7 @@
"(319,'Mini Classics','Frick','Steve','9145554562','3758 North Pendale Street',NULL,'White Plains','NY','24067','USA',1323,'102700.00'),\n",
"(320,'Mini Creations Ltd.','Huang','Wing','5085559555','4575 Hillside Dr.',NULL,'New Bedford','MA','50553','USA',1188,'94500.00'),\n",
"(321,'Corporate Gift Ideas Co.','Brown','Julie','6505551386','7734 Strong St.',NULL,'San Francisco','CA','94217','USA',1165,'105000.00'),\n",
"(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",
"(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",
"(324,'Stylish Desk Decors, Co.','Brown','Ann ','(171) 555-0297','35 King George',NULL,'London',NULL,'WX3 6FW','UK',1501,'77000.00'),\n",
"(328,'Tekni Collectables Inc.','Brown','William','2015559350','7476 Moss Rd.',NULL,'Newark','NJ','94019','USA',1323,'43000.00'),\n",
"(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",
Expand All @@ -352,7 +352,7 @@
"(361,'Kommission Auto','Josephs','Karin','0251-555259','Luisenstr. 48',NULL,'Münster',NULL,'44087','Germany',NULL,'0.00'),\n",
"(362,'Gifts4AllAges.com','Yoshido','Juri','6175559555','8616 Spinnaker Dr.',NULL,'Boston','MA','51003','USA',1216,'41900.00'),\n",
"(363,'Online Diecast Creations Co.','Young','Dorothy','6035558647','2304 Long Airport Avenue',NULL,'Nashua','NH','62005','USA',1216,'114200.00'),\n",
"(369,'Lisboa Souveniers, Inc','Rodriguez','Lino ','(1) 354-2555','Jardim das rosas n. 32',NULL,'Lisboa',NULL,'1675','Portugal',NULL,'0.00'),\n",
"(369,'Lisboa Souvenirs, Inc','Rodriguez','Lino ','(1) 354-2555','Jardim das rosas n. 32',NULL,'Lisboa',NULL,'1675','Portugal',NULL,'0.00'),\n",
"(376,'Precious Collectables','Urs','Braun','0452-076555','Hauptstr. 29',NULL,'Bern',NULL,'3012','Switzerland',1702,'0.00'),\n",
"(379,'Collectables For Less Inc.','Nelson','Allen','6175558555','7825 Douglas Av.',NULL,'Brickhaven','MA','58339','USA',1188,'70700.00'),\n",
"(381,'Royale Belge','Cartrain','Pascale ','(071) 23 67 2555','Boulevard Tirou, 255',NULL,'Charleroi',NULL,'B-6000','Belgium',1401,'23500.00'),\n",
Expand Down
6 changes: 3 additions & 3 deletions db-course/007-Aggregation-HW.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@
" </tr>\n",
" <tr>\n",
" <td>282</td>\n",
" <td>Souveniers And Things Co.</td>\n",
" <td>Souvenirs And Things Co.</td>\n",
" <td>42251.51</td>\n",
" </tr>\n",
" <tr>\n",
Expand Down Expand Up @@ -1484,7 +1484,7 @@
" <tbody>\n",
" <tr>\n",
" <td>323</td>\n",
" <td>Down Under Souveniers, Inc</td>\n",
" <td>Down Under Souvenirs, Inc</td>\n",
" <td>75020.13</td>\n",
" </tr>\n",
" <tr>\n",
Expand All @@ -1511,7 +1511,7 @@
"</table>"
],
"text/plain": [
"[(323, 'Down Under Souveniers, Inc', Decimal('75020.13')),\n",
"[(323, 'Down Under Souvenirs, Inc', Decimal('75020.13')),\n",
" (141, 'Euro+ Shopping Channel', Decimal('46895.48')),\n",
" (209, 'Mini Caravy', Decimal('35157.75')),\n",
" (496, \"Kelly's Gift Shop\", Decimal('30253.75')),\n",
Expand Down
2 changes: 1 addition & 1 deletion db-course/007-Aggregation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@
"2. With `GROUP BY`, the grouping attributes become the new primary key of the result. \n",
"3. Do not mix aggregated and non-aggregated values in the result with or without a `GROUP BY`.\n",
"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",
"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"
"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"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion db-course/QuizSystem.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@
"text/plain": [
"*subject_id subject_name \n",
"+------------+ +------------+\n",
"DaSy Database Syste\n",
"DaSy Database System\n",

Check failure on line 834 in db-course/QuizSystem.ipynb

View workflow job for this annotation

GitHub Actions / Check for spelling errors

DaSy ==> days, dash, daisy, easy
"ML Machine Learni\n",
"SciViz Scientific Vis\n",
" (Total: 3)"
Expand Down

0 comments on commit 4a1f906

Please sign in to comment.