Skip to content

Instantly share code, notes, and snippets.

@mattm
Last active April 23, 2017 18:12
Embed
What would you like to do?
Charges Table
DROP TABLE IF EXISTS charges;
CREATE TABLE charges (id INT PRIMARY KEY AUTO_INCREMENT, amount DECIMAL(10,2));
INSERT INTO charges (amount) VALUES (18);
INSERT INTO charges (amount) VALUES (15);
INSERT INTO charges (amount) VALUES (27);
+----+--------+
| id | amount |
+----+--------+
| 1 | 18.00 |
| 2 | 15.00 |
| 3 | 27.00 |
+----+--------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment