Skip to content

Instantly share code, notes, and snippets.

@emirozturk
Created April 25, 2018 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emirozturk/6d8554e5d549221a5b4ce03fde62eaed to your computer and use it in GitHub Desktop.
Save emirozturk/6d8554e5d549221a5b4ce03fde62eaed to your computer and use it in GitHub Desktop.
PDG Tkinter Uygulaması için veritabanı
BEGIN TRANSACTION;
CREATE TABLE IF NOT EXISTS `ogrenciDers` (
`ogrenciNo` INTEGER NOT NULL,
`dersKodu` TEXT NOT NULL
);
CREATE TABLE IF NOT EXISTS `ogrenci` (
`ogrenciNo` INTEGER NOT NULL,
`ogrenciAdi` TEXT NOT NULL,
PRIMARY KEY(`ogrenciNo`)
);
CREATE TABLE IF NOT EXISTS `ders` (
`dersKodu` TEXT NOT NULL,
`dersAdi` TEXT NOT NULL,
PRIMARY KEY(`dersKodu`)
);
COMMIT;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment