Skip to content

Commit

Permalink
Atualização do script do banco de dados
Browse files Browse the repository at this point in the history
  • Loading branch information
laryscampark committed Apr 16, 2024
1 parent c71008a commit 3504c93
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions orders.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
CREATE TABLE orders (
id integer,
account_id integer,
occurred_at timestamp,
standard_qty integer,
gloss_qty integer,
poster_qty integer,
total float,
standard_amt_usd float,
gloss_amt_usd float,
poster_amt_usd float,
total_amt_usd float
);


SELECT * FROM orders


INSERT INTO orders (id, account_id, occurred_at, standard_qty, gloss_qty, poster_qty, total, standard_amt_usd, gloss_amt_usd, poster_amt_usd, total_amt_usd) VALUES
(1, 1001, '2015-10-06 17:31:14', 123, 22, 24, 169, 613.77, 164.78, 194.88, 973.43);
INSERT INTO orders (id, account_id, occurred_at, standard_qty, gloss_qty, poster_qty, total, standard_amt_usd, gloss_amt_usd, poster_amt_usd, total_amt_usd) VALUES
(2, 1001, '2015-11-05 03:34:33', 190, 41, 57, 288, 948.10, 307.09, 462.84, 1718.03);
INSERT INTO orders (id, account_id, occurred_at, standard_qty, gloss_qty, poster_qty, total, standard_amt_usd, gloss_amt_usd, poster_amt_usd, total_amt_usd) VALUES
(3, 1001, '2015-12-04 04:21:55', 85, 47, 0, 132, 424.15, 352.03, 0.00, 776.18);
INSERT INTO orders (id, account_id, occurred_at, standard_qty, gloss_qty, poster_qty, total, standard_amt_usd, gloss_amt_usd, poster_amt_usd, total_amt_usd) VALUES
(4, 1001, '2015-10-06 17:31:14', 123, 22, 24, 169, 613.77, 164.78, 194.88, 973.43);

0 comments on commit 3504c93

Please sign in to comment.