NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io



go
create table Araclar
(
Id int identity,
AracMarka varchar(50),
AracModel varchar(50),
AracTürü varchar(50),
AracMotorTürü varchar(50),
AracVitesTürü varchar(50),
AracSinifi varchar(50),
AracYakitTipi varchar(50),
AracFiyat money,
AracRenk varchar(50),
ShowroomId int,
CalısanlarId int,
ModellerId int,
Constraint PK_Araclar_Id Primary Key(Id),
Foreign Key(ShowroomId)
References Showroom(Id),
Constraint FK_CalısanlarId
Foreign Key(CalısanlarId)
References Calısanlar(Id),
Constraint FK_ModellerId
Foreign Key(ModellerId)
References Modeller(Id)
)

go


create table Showroom
(
Id int identity,
Ad Varchar(50),
Adresi Varchar(50),
Telefon int,
Email varchar(50),
Constraint PK_Showroom_Id Primary Key(Id),
)

go

create table Satis
(
Id int identity,
ShowroomId int,
MusterilerId int,
Constraint PK_Satis_Id Primary Key(Id),
Foreign Key (ShowroomId)
References Showroom(Id),
Constraint FK_MusterilerId
Foreign Key (MusterilerId)
References Musteriler(Id)
)

go

Create Table Musteriler
(
Id Int Identity,
Ad Varchar(50),
Soyad Varchar(50),
Adresi Varchar(50),
Telefon int,
Email Varchar(100),
ShowroomId Int,
Constraint PK_Musteriler_Id Primary Key(Id),
Foreign Key(ShowroomId)
References Showroom(Id)
)
go
create table Calısanlar
(
Id Int Identity,
Ad Varchar(50),
soyadı nvarchar(50),
ShowroomId Int,
Constraint PK_Calısanlar_Id Primary Key(Id),
Foreign Key(ShowroomId)
References Showroom(Id)
)

go

create table Modeller
(
Id int Identity,
Ad varchar(50),
ShowroomId int,
Constraint PK_Modeller_Id Primary Key(Id),
Foreign Key(ShowroomId)
References Showroom(Id)
)
go
create table Türler
(
Id int identity,
Ad varchar(50),
AraclarId int,
Constraint PK_Türler_Id Primary Key(Id),
Foreign Key(AraclarId)
References Araclar(Id)
)
go
create table Markalar
(
Id int identity,
Ad varchar(50),
AraclarId int,
Constraint PK_Markalar_Id Primary Key(Id),
Foreign Key(AraclarId)
References Araclar(Id)
)
go

create table Motor
(
Id int identity,
Ad varchar(50),
No varchar(50),
AraclarId int,
Constraint PK_Motor_Id Primary Key(Id),
Foreign Key(AraclarId)
References Araclar(Id)
)

go

create table Vites
(
Id int identity,
Tür varchar(30),
AraclarId int,
MotorId int,
Constraint PK_Vites_Id Primary Key(Id),
Foreign Key (AraclarId)
References Araclar(Id),
Constraint FK_MotorId
Foreign Key(MotorId)
References Motor(Id)

)
go

create table Sanzıman
(
Id int identity,
Türü varchar(50),
AraclarId int,
VitesId int,
MotorId int,
Constraint PK_Sanzıman_Id Primary Key(Id),
Foreign Key (AraclarId)
References Araclar(Id),
Constraint FK_VitesId
Foreign Key (VitesId)
References Vites(Id),
Foreign Key (MotorId)
References Motor(Id),
)

go

Create table AracSinifi
(
Id int identity,
Ad varchar(50),
AraclarId int,
Constraint PK_AracSinifi_Id Primary Key(Id),
Foreign Key(AraclarId)
References Araclar(Id)
)

go

create table YakitTipi
(
Id int identity,
Ad varchar(50),
AraclarId int,
MotorId int,
SanzımanId int,
Constraint PK_YakitTipi_Id Primary Key(Id),
Foreign Key (AraclarId)
References Araclar(Id),
Foreign Key (MotorId)
References Motor(Id),
Foreign Key (SanzımanId)
References Sanzıman(Id)
)

go

create table AracRenk
(
Id int identity,
Ad varchar(50),
AraclarId int,
Constraint PK_AracRenk_Id Primary Key(Id),
Foreign Key(AraclarId)
References Araclar(Id)
)

go

create table DısOzellik
(
Id int identity,
DısOzellik varchar(50),
AraclarId int,
Constraint PK_DısOzellik_Id Primary Key(Id),
Foreign Key (AraclarId)
References Araclar(Id)
)

go

create table İcOzellik
(
ID int identity,
IcOzellik varchar(50),
AraclarId int,
Constraint PK_IcOzellik_Id Primary Key(Id),
Foreign Key (AraclarId)
References Araclar(Id)
)





     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.