The document contains the code to create multiple tables in a database. The tables include: Staff, Client, Inspector, Manager, Building, Inspection, Client, Technician, Operation, Vehicle Type, Vehicle, File, and Repair. The tables define fields such as IDs, names, dates, costs, etc. and establish relationships between tables with foreign keys.
The document contains the code to create multiple tables in a database. The tables include: Staff, Client, Inspector, Manager, Building, Inspection, Client, Technician, Operation, Vehicle Type, Vehicle, File, and Repair. The tables define fields such as IDs, names, dates, costs, etc. and establish relationships between tables with foreign keys.
The document contains the code to create multiple tables in a database. The tables include: Staff, Client, Inspector, Manager, Building, Inspection, Client, Technician, Operation, Vehicle Type, Vehicle, File, and Repair. The tables define fields such as IDs, names, dates, costs, etc. and establish relationships between tables with foreign keys.
( Id_Klient int identity(1,1) primary Key not null , Emer_Klient varchar(10) not null, Gjinia varchar(1), Adresa varchar(20), Qyteti varchar(10), Tel char(13), N_Kb char(16), );
CREATE TABLE Teknik
( Id_Teknik int identity(1,1) primary key not null, Emer_Teknik varchar(10) not null, Date_Lindje date, Date_Punesim date, Photo image, );
Create Table Operacion
( Id_Operacion int identity(1,1) primary key not null, Emertim_O varchar(10), );
CREATE TABLE Auto_Tip
( Id_Auto_Tip int identity(1,1) primary key not null, Marka varchar(10), Nen_Marka varchar(10), V_P date, N_V date, ); CREATE TABLE Automjet ( Id_Automjet int identity(1,1) primary key not null, Pershkrimi varchar(30), Targa varchar(7), N_Shasise varchar(30), Date_B date, Id_Klient int, Constraint klienti foreign key(Id_Klient) References Klient(Id_Klient), );