97 lines
2.6 KiB
SQL
97 lines
2.6 KiB
SQL
-- phpMyAdmin SQL Dump
|
|
-- version 4.6.5.2
|
|
-- https://www.phpmyadmin.net/
|
|
--
|
|
-- Host: 127.0.0.1
|
|
-- Czas generowania: 22 Gru 2019, 20:58
|
|
-- Wersja serwera: 10.1.21-MariaDB
|
|
-- Wersja PHP: 5.6.30
|
|
|
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|
SET time_zone = "+00:00";
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
/*!40101 SET NAMES utf8mb4 */;
|
|
|
|
--
|
|
-- Baza danych: `komputery`
|
|
--
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Struktura tabeli dla tabeli `parametry`
|
|
--
|
|
|
|
CREATE TABLE `parametry` (
|
|
`Id` int(255) NOT NULL,
|
|
`Procesor` varchar(255) COLLATE utf8mb4_polish_ci NOT NULL,
|
|
`Plyta_Glowna` varchar(255) COLLATE utf8mb4_polish_ci NOT NULL,
|
|
`Pamiec_Ram` varchar(255) COLLATE utf8mb4_polish_ci NOT NULL,
|
|
`Dysk` varchar(255) COLLATE utf8mb4_polish_ci NOT NULL,
|
|
`Karta_Graficzna` varchar(255) COLLATE utf8mb4_polish_ci NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_polish_ci;
|
|
|
|
--
|
|
-- Zrzut danych tabeli `parametry`
|
|
--
|
|
|
|
INSERT INTO `parametry` (`Id`, `Procesor`, `Plyta_Glowna`, `Pamiec_Ram`, `Dysk`, `Karta_Graficzna`) VALUES
|
|
(1, 'Intel', 'Asus', '4GB', 'SSD', 'Asus'),
|
|
(2, 'Ryzen', 'Asus', '8GB', 'HDD', 'Asus');
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Struktura tabeli dla tabeli `uzytkownicy`
|
|
--
|
|
|
|
CREATE TABLE `uzytkownicy` (
|
|
`Id` int(255) NOT NULL,
|
|
`Imie` varchar(255) COLLATE utf8mb4_polish_ci NOT NULL,
|
|
`Nazwisko` varchar(255) COLLATE utf8mb4_polish_ci NOT NULL,
|
|
`Data_wydania` date NOT NULL,
|
|
`Data_zak_lea` date NOT NULL,
|
|
`Dzial` varchar(255) COLLATE utf8mb4_polish_ci NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_polish_ci;
|
|
|
|
--
|
|
-- Zrzut danych tabeli `uzytkownicy`
|
|
--
|
|
|
|
INSERT INTO `uzytkownicy` (`Id`, `Imie`, `Nazwisko`, `Data_wydania`, `Data_zak_lea`, `Dzial`) VALUES
|
|
(1, 'Jan', 'Kowalski', '2019-11-17', '2020-11-20', 'Technologie'),
|
|
(2, 'Monika', 'Szyk', '2018-12-02', '2020-12-01', 'Zarzad');
|
|
|
|
--
|
|
-- Indeksy dla zrzutów tabel
|
|
--
|
|
|
|
--
|
|
-- Indexes for table `parametry`
|
|
--
|
|
ALTER TABLE `parametry`
|
|
ADD PRIMARY KEY (`Id`);
|
|
|
|
--
|
|
-- Indexes for table `uzytkownicy`
|
|
--
|
|
ALTER TABLE `uzytkownicy`
|
|
ADD PRIMARY KEY (`Id`);
|
|
|
|
--
|
|
-- AUTO_INCREMENT for dumped tables
|
|
--
|
|
|
|
--
|
|
-- AUTO_INCREMENT dla tabeli `uzytkownicy`
|
|
--
|
|
ALTER TABLE `uzytkownicy`
|
|
MODIFY `Id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|