Skip to content

Commit 781e267

Browse files
authored
Update decimal-data-type.sql
1 parent 0b90098 commit 781e267

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
-- Create example table
2-
CREATE TABLE coordinates (
2+
CREATE TABLE Coordinates (
33
id INT AUTO_INCREMENT PRIMARY KEY,
44
location VARCHAR(255),
55
latitude DECIMAL(10, 8) NOT NULL,
66
longitude DECIMAL(11, 8) NOT NULL
77
);
88
-- Add example data
9-
INSERT INTO coordinates (location, latitude, longitude)
9+
INSERT INTO Coordinates (location, latitude, longitude)
1010
VALUES ('Eiffel Tower', 48.8584, 2.2945);
1111
-- Query example data
12-
SELECT * FROM coordinates;
12+
SELECT * FROM Coordinates;

0 commit comments

Comments
 (0)