Gen AI in Business - Global Trends Report 2024.pdf
Physical elements of data
1. DARI BAB : PHYSICAL ELEMENTS OF DATA Dimara Kusuma Hakim, ST. STRUKTUR DAN PENYIMPANAN BASISDATA
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25. CREATE TABLE Products( sku int NOT NULL PRIMARY KEY, modelnumber varchar(25) NOT NULL, name varchar(100) NOT NULL, manufacturer varchar(25) NOT NULL, description varchar(255) NOT NULL, warrantydetails varchar(500) NOT NULL, price money NOT NULL, weight decimal(5, 2) NOT NULL, shippingweight decimal(5, 2) NOT NULL, height decimal(4, 2) NOT NULL, width decimal(4, 2) NOT NULL, depth decimal(4, 2) NOT NULL, isserialized bit NOT NULL, status tinyint NOT NULL )
26.
27.
28.
29.
30.
31. Data from the employee and vehicle tables showing the relationship between the tables
32. CREATE TABLE dbo.vehicle( objid int IDENTITY(1,1) NOT NULL, make varchar(50) NOT NULL, model varchar(50)NOT NULL, year char(4) NOT NULL, employee_objid int NOT NULL, CONSTRAINT PK_vehicle PRIMARY KEY (objid), CONSTRAINT FK_vehicle_employee FOREIGN KEY(employee_objid) REFERENCES employee (objid) )