Description
products sold by the sporting goods company
Table properties
| name | value |
|---|
| name | GROUPO.Products |
| row count | 10 |
| Maximum size of a single row | 92 bytes |
Columns
| column | datatype | length | default | nulls | PK | FK | UQ | comment |
|---|
| ID | integer | 4 | | no
| yes
| |
| |
| Name | char(15) | 15 | | no
|
| |
| |
| Description | char(30) | 30 | | no
|
| |
| |
| Size | char(18) | 18 | | no
|
| |
| |
| Color | char(6) | 6 | | no
|
| |
| |
| Quantity | integer | 4 | | no
|
| |
| |
| UnitPrice | numeric(15,2) | 15 | | no
|
| |
| |
| Photo | image | (n/a) | | yes
|
| |
| |
Indexes
Referenced by
Foreign key graph
Dependency graph
Objects that GROUPO.Products depends on
| name | object type | level |
|---|
| image | type | 1 |
Objects that depend on GROUPO.Products
Sample rows
| ID | Name | Description | Size | Color | Quantity | UnitPrice | Photo |
|---|
| 300
| Tee Shirt
| Tank Top
| Small
| White
| 28
| 9.00
| System.Byte[]
|
| 301
| Tee Shirt
| V-neck
| Medium
| Orange
| 54
| 14.00
| System.Byte[]
|
| 302
| Tee Shirt
| Crew Neck
| One size fits all
| Black
| 75
| 14.00
| System.Byte[]
|
| 400
| Baseball Cap
| Cotton Cap
| One size fits all
| Black
| 112
| 9.00
| System.Byte[]
|
| 401
| Baseball Cap
| Wool cap
| One size fits all
| White
| 12
| 10.00
| System.Byte[]
|
| 500
| Visor
| Cloth Visor
| One size fits all
| White
| 36
| 7.00
| System.Byte[]
|
| 501
| Visor
| Plastic Visor
| One size fits all
| Black
| 28
| 7.00
| System.Byte[]
|
| 600
| Sweatshirt
| Hooded Sweatshirt
| Large
| Green
| 39
| 24.00
| System.Byte[]
|
| 601
| Sweatshirt
| Zipped Sweatshirt
| Large
| Blue
| 32
| 24.00
| System.Byte[]
|
| 700
| Shorts
| Cotton Shorts
| Medium
| Black
| 80
| 15.00
| System.Byte[]
|
Code
CREATE TABLE "GROUPO"."Products" (
"ID" integer NOT NULL
,"Name" char(15) NOT NULL
,"Description" char(30) NOT NULL
,"Size" char(18) NOT NULL
,"Color" char(6) NOT NULL
,"Quantity" integer NOT NULL
,"UnitPrice" numeric(15,2) NOT NULL
,"Photo" "image" NULL
,CONSTRAINT "ProductsKey" PRIMARY KEY ("ID")
)