We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b90098 commit 781e267Copy full SHA for 781e267
sql-queries-12/ideal-data-type-latitude-longitude-mysql/decimal-data-type.sql
@@ -1,12 +1,12 @@
1
-- Create example table
2
-CREATE TABLE coordinates (
+CREATE TABLE Coordinates (
3
id INT AUTO_INCREMENT PRIMARY KEY,
4
location VARCHAR(255),
5
latitude DECIMAL(10, 8) NOT NULL,
6
longitude DECIMAL(11, 8) NOT NULL
7
);
8
-- Add example data
9
-INSERT INTO coordinates (location, latitude, longitude)
+INSERT INTO Coordinates (location, latitude, longitude)
10
VALUES ('Eiffel Tower', 48.8584, 2.2945);
11
-- Query example data
12
-SELECT * FROM coordinates;
+SELECT * FROM Coordinates;
0 commit comments