Skip to content

Commit 8603db7

Browse files
minor
1 parent 7df3bfd commit 8603db7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

book/20-concepts/03-relational-practice.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,9 +600,9 @@
600600
"cell_type": "markdown",
601601
"metadata": {},
602602
"source": [
603-
"## Common Database Operations\n",
603+
"## Common Data Queries\n",
604604
"\n",
605-
"We'll briefly demonstrate SQL operations to contrast them with DataJoint. The operations work the same—the difference is in how we *conceive* of the database.\n",
605+
"We'll briefly demonstrate equiavalent database queries in both SQL and DataJoint. The operations work the same—the difference is in how we *conceive* of the database.\n",
606606
"\n",
607607
"All database queries are built from four fundamental relational operations:\n",
608608
"\n",
@@ -883,7 +883,7 @@
883883
"cell_type": "markdown",
884884
"metadata": {},
885885
"source": [
886-
"### Example Queries: Join Operations\n",
886+
"### Example Queries: Joining tables\n",
887887
"\n",
888888
"**Join** combines related data from multiple tables. The foreign key relationships tell us which tables can be meaningfully joined:\n"
889889
]
@@ -1568,6 +1568,7 @@
15681568
"metadata": {},
15691569
"source": [
15701570
"```sql\n",
1571+
"-- SQL Equivalent:\n",
15711572
"-- Delete a recording (cascade to NeuralUnits)\n",
15721573
"DELETE FROM NeuralUnits WHERE experiment_id = 1 AND recording_id = 1;\n",
15731574
"DELETE FROM Recording WHERE experiment_id = 1 AND recording_id = 1;\n",

0 commit comments

Comments
 (0)