Estrutura da Tabela

Field Type Null Key Default Extra
idItem int(11) NO PRI auto_increment
idVenda int(11) NO MUL
idProduto int(11) YES
descricao varchar(120) YES
quantidade decimal(10,3) YES 1.000
valorUnitario decimal(10,2) YES 0.00
valorTotal decimal(10,2) YES 0.00

Dados da Tabela (máx. 100 linhas)

idItem idVenda idProduto descricao quantidade valorUnitario valorTotal
1 1 1 Trava de cabo telescópico - R$ 15,90 1.000 15.90 15.90
2 2 1 Trava de cabo telescópico - R$ 15,90 1.000 15.90 15.90
3 3 14340 ddfsdsdf - R$ 222,00 1.000 222.00 222.00
12 11 14356 Notebook Dell Inspiron 15 1.000 3243.25 3243.25
13 11 14357 Mouse Logitech MX Master 2.000 6222.26 12444.52
14 12 14359 Monitor LG 24 polegadas 1.000 7898.53 7898.53
15 12 14360 SSD Kingston 480GB 2.000 4179.93 8359.86
16 12 14361 Memoria RAM 16GB DDR4 1.000 278.61 278.61
17 13 14365 Hub USB-C 7 portas 1.000 8503.67 8503.67
18 14 14366 Notebook Dell Inspiron 15 1.000 7051.07 7051.07
19 14 14367 Mouse Logitech MX Master 2.000 5233.67 10467.34
20 15 14369 Monitor LG 24 polegadas 1.000 8672.90 8672.90
21 15 14370 SSD Kingston 480GB 2.000 7461.72 14923.44
22 15 14371 Memoria RAM 16GB DDR4 1.000 8985.32 8985.32
23 16 14375 Hub USB-C 7 portas 1.000 1386.30 1386.30
24 17 1 Produto QA 01 - R$ 10,00 2.000 10.00 20.00
25 17 2 Produto QA 02 - R$ 20,00 1.000 20.00 20.00
26 18 3 Produto QA 03 - R$ 30,00 1.000 30.00 30.00
27 18 4 Produto QA 04 - R$ 40,00 2.000 40.00 80.00
28 18 5 Produto QA 05 - R$ 50,00 1.000 50.00 50.00
29 19 11 Produto QA 01 - R$ 10,00 2.000 10.00 20.00
30 19 12 Produto QA 02 - R$ 20,00 1.000 20.00 20.00
34 21 11 Produto QA 01 1.000 10.00 10.00
35 22 11 Produto QA 01 2.000 10.00 20.00
36 22 12 Produto QA 02 1.000 20.00 20.00
37 23 13 Produto QA 03 1.000 30.00 30.00
38 23 14 Produto QA 04 2.000 40.00 80.00
39 23 15 Produto QA 05 1.000 50.00 50.00
40 24 1 Produto QA 01 2.000 10.00 20.00
41 25 3 Produto QA 03 1.000 30.00 30.00
42 26 4 Produto QA 04 1.000 40.00 40.00
43 26 5 Produto QA 05 1.000 50.00 50.00
44 27 6 Produto QA 06 1.000 60.00 60.00
45 28 7 Produto QA 07 1.000 70.00 70.00
46 28 8 Produto QA 08 1.000 80.00 80.00
47 29 9 Produto QA 09 3.000 90.00 270.00
48 30 10 Produto QA 10 1.000 100.00 100.00
49 30 1 Produto QA 01 2.000 10.00 20.00
50 31 2 Produto QA 02 1.000 20.00 20.00
51 31 3 Produto QA 03 1.000 30.00 30.00
52 31 4 Produto QA 04 1.000 40.00 40.00
53 32 5 Produto QA 05 2.000 50.00 100.00
54 33 6 Produto QA 06 1.000 60.00 60.00
55 33 7 Produto QA 07 1.000 70.00 70.00
56 34 8 Produto QA 08 1.000 80.00 80.00
57 35 23 Produto Real 1 1.000 25.00 25.00
58 36 24 Produto Real 2 1.000 50.00 50.00
59 37 25 Produto Real 3 1.000 75.00 75.00
60 38 26 Produto Real 4 1.000 100.00 100.00
61 39 27 Produto Real 5 1.000 125.00 125.00
62 40 28 Produto Real 6 1.000 150.00 150.00
63 41 29 Produto Real 7 1.000 175.00 175.00
64 42 30 Produto Real 8 1.000 200.00 200.00
65 43 31 Produto Real 9 1.000 225.00 225.00
66 44 32 Produto Real 10 1.000 250.00 250.00
67 45 23 Produto Real 1 1.000 20.00 20.00
68 46 24 Produto Real 2 1.000 40.00 40.00
69 47 25 Produto Real 3 1.000 60.00 60.00
70 48 26 Produto Real 4 1.000 80.00 80.00
71 49 27 Produto Real 5 1.000 100.00 100.00
72 50 28 Produto Real 6 1.000 120.00 120.00
73 51 29 Produto Real 7 1.000 140.00 140.00
74 52 30 Produto Real 8 1.000 160.00 160.00
75 53 31 Produto Real 9 1.000 180.00 180.00
76 54 32 Produto Real 10 1.000 200.00 200.00
77 55 11 Produto QA 01 1.000 10.00 10.00
78 55 11 Produto QA 01 1.000 10.00 10.00
79 56 11 Produto QA 01 1.000 10.00 10.00
80 56 13 Produto QA 03 3.000 30.00 90.00
81 57 11 Produto QA 01 1.000 10.00 10.00
82 58 11 Produto QA 01 2.000 10.00 20.00