Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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