Skip to content

Instantly share code, notes, and snippets.

@mattm

mattm/Charges.txt

Last active Apr 23, 2017
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
You can’t perform that action at this time.