Skip to content

Commit 16c4907

Browse files
committed
Fixed FK error on insert.sql
1 parent 101fe94 commit 16c4907

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

09_DataManipulation/Insert.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ INSERT
88
digitalmode_id)
99
VALUES
1010
('GD-88',
11-
9,
11+
7,
1212
3,
1313
2);
1414

11_VacuumIntro/vacuum.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,9 @@ WHERE
7878
ps.tablename = 'countries';
7979

8080
--VERBOSE and ANALYZE
81+
DELETE FROM radio.countries
82+
WHERE country_id BETWEEN 3 AND 12000;
83+
84+
ANALYZE (VERBOSE) radio.countries;
85+
8186

SampleData.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
INSERT INTO radio.manufacturers
33
(manufacturer_name)
44
VALUES
5-
('Yeasu'),('Icom'),('Baofeng'),('BTech'),('TidRadio'),('Xiegu');
5+
('Yeasu'),('Icom'),('Baofeng'),('BTech'),('TidRadio'),('Xiegu'),('Raddiodity');
66

77
INSERT INTO radio.countries
88
(country_name)

0 commit comments

Comments
 (0)