Untitled

 avatar
unknown
plain_text
5 months ago
277 B
3
Indexable
CREATE TABLE zakupy (
    id INT AUTO_INCREMENT PRIMARY KEY,
    samochod_id INT NOT NULL,
    klient VARCHAR(100) NOT NULL,
    data_zakupu DATE NOT NULL,
    status ENUM('zrealizowany', 'anulowany') NOT NULL,
    FOREIGN KEY (samochod_id) REFERENCES samochody(id)
);
Editor is loading...
Leave a Comment