NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

/*
üniversite
klüpler
öğrenciler
faaliyetler
ilçeler






*/

Create Database ÜniKulupler
go
Create Table Universite
(
OkulNo int identity,
OkulAdı varchar (50) NOT NULL,
OkulTelefon varchar (20) NOT NULL,
OkulFaxNo varchar (20) NOT NULL,
OkulWebSite varchar (100) NOT NULL,
OkulTur varchar (7) NOT NULL,
constraint PK_Universite_OkulNo Primary Key (OkulNo),
constraint CK_Universite_OkulTelefon check (OkulTelefon like '[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] [0-9]'),
Constraint CK_Universite_OkulFaxNo check (OkulFaxNo like '[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] [0-9]'),

)
go
Create Table UniAlanlar
(
AlanNo int identity,
AlanAdi varchar (20) NOT NULL,
AlanAdresi varchar (70) NOT NULL,
AlanTelefon varchar (20) NOT NULL,
AlanFaxNo varchar (20) NOT NULL,
AlanWebSite varchar (100) NOT NULL,
Constraint PK_UniAlanlar_AlanNo Primary Key (AlanNo),
constraint CK_UniAlanlar_AlanTelefon check (AlanTelefon like '[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] [0-9]'),
Constraint CK_UniAlanlar_AlanFaxNo check (AlanFaxNo like '[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] [0-9]'),
)
go
create Table UnıBolumler
(
BolumNo int identity,
BolumAdi varchar (20) NOT NULL,
BolumTelefon varchar (20) NOT NULL,
Constraint PK_UnıBolumler_BolumNo Primary Key (BolumNo),
constraint CK_UniBolumler_BolumTelefon check (BolumTelefon like '([0-9][0-9][0-9])[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] [0-9]'),

)
go
Go
Create Table Ulkeler
(
UlkeNo Int Identity,
UlkeAdi varchar(75) NOT NULL,
Constraint PK_Ulkeler_UlkeNo Primary Key(UlkeNo)
)
Go
Create Table Iller
(
IlNo Int Identity,
IlAdi varchar(50) NOT NULL,
UlkeNo Int,
Constraint PK_Iller_IlNo Primary Key (IlNo),
Constraint FK_Iller_UlkeNo Foreign Key(UlkeNo) References Ulkeler(UlkeNo) On Delete Cascade
)
Go
Create Table Ilceler
(
IlceNo Int Identity,
IlceAdi varchar(60) not null,
IlNo Int,
Constraint PK_Ilceler_IlceNo Primary Key(IlceNo),
Constraint FK_Ilceler_Ilno Foreign Key(IlNo) References Iller(IlNo),
)
go
Create table Ogrenciler
(
OgrenciNo int identity,
OgrenciAd Varchar (20) NOT NULL,
OgrenciSoyad varchar (20) NOT NULL,
OgrenciTc varchar (11) Not NULL,
OgrenciCinsiyet varchar (5) Not null,
OgrenciDogumİlce varchar (50) Not NULL,
OgrenciDogumTarih varchar (10) NOT NULL,
OgrenciAdres varchar (120) NOT NULL,
OgrenciAdresIlcesi int,
OgrenciAdresIl int,
OgrenciCepTel varchar (20) Not NULL,
OgrenciEvTel varchar (20) NOT NUll,
OgrenciEposta varchar (120) NOT NULL,
OgrenciKayıtTarih varchar (25) NOT NULL,
OgrenciMezuniyetTarih varchar (25) NOT NULL,
OgrenciCalismaDurum varchar (20) NOT NULL,
Constraint PK_Ogrenciler_OgrenciNo Primary Key (OgrenciNo),
Constraint FK_Ogrenciler_OgrenciAdresIlcesi Foreign Key (OgrenciAdresIlcesi) References Ilceler (IlceNo),
constraint FK_Ogrenciler_OgrenciAdresIl foreign Key (OgrenciAdresIl) references Iller (IlNo),
Constraint CK_Ogrenciler_OgrenciTc Check(OgrenciTc Like '[1-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]')
)
go
create table Kulupler
(
KulupNO int identity,
KulupAdi varchar (50) NOT NULL,
KulupTur varchar (50) NOT NULL,
KulupBaskan int,
KulupBaskanyardımcı int,
KulupSayman int,
KulupDanisman int,
constraint PK_Kulupler_KulupNO primary key (KulupNO),
)
go
create table KulupUyeler
(
UyeNo int identity,
UyeTur varchar (20) NOT NULL,
UyeKayitTarih varchar (30) NOT NULL,
Constraint PK_KulupUyeler_UyeNO Primary Key (UyeNo),
)
go
create table OgretimGorevlileri
(
OgretimGorevliNo int identity,
OgretimGorevliAd varchar (20),
OgretimGorevliSoyad varchar (20),
OgretimGorevliUnvan varchar (30),
OkulNo int,
AlanNo int,
BolumNo int,
Constraint PK_OgretimGorevlileri_OgretimGorevliNo Primary Key (OgretimGorevliNo),
constraint FK_OgretimGorevlileri_OkulNo Foreign Key (OkulNo) References Universite (OkulNo),
constraint FK_OgretimGorevlileri_AlanNo Foreign Key (AlanNo) References UniAlanlar (AlanNo),
constraint FK_OgretimGorevlileri_BolumNo foreign Key (BolumNo) references UnıBolumler (BolumNO),
)
go
create table faaliyetler
(
faaliyetNo int identity,
FaaliyetTarih varchar (40) NOT NULL,
FaaliyetAdi varchar (50) NOT NULL,
FaaliyetKulup varchar (50) NOT NULL,
FaaliyetTur varchar (50) NOT NULL,
KulupNo int,
constraint PK_faaliyetler_faaliyetNo Primary Key (faaliyetNo),
constraint FK_faaliyetler_FaaliyetKulup Foreign Key (KulupNo) references Kulupler (KulupNO),
)
     
 
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.