-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 31 Bulan Mei 2024 pada 00.49
-- Versi server: 10.1.38-MariaDB
-- Versi PHP: 5.6.40

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 */;

--
-- Database: `skripsinya`
--

-- --------------------------------------------------------

--
-- Struktur dari tabel `admin`
--

CREATE TABLE `admin` (
  `admin_id` int(11) NOT NULL,
  `admin_nama` varchar(70) NOT NULL,
  `nim` varchar(50) NOT NULL,
  `alamat` varchar(50) NOT NULL,
  `bio` text NOT NULL,
  `jurusan` varchar(50) NOT NULL,
  `admin_username` varchar(70) NOT NULL,
  `admin_password` varchar(255) NOT NULL,
  `admin_foto` varchar(100) NOT NULL,
  `trust` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data untuk tabel `admin`
--

INSERT INTO `admin` (`admin_id`, `admin_nama`, `nim`, `alamat`, `bio`, `jurusan`, `admin_username`, `admin_password`, `admin_foto`, `trust`) VALUES
(1, 'Chandra', '1002211', 'Lumajang', 'Hai saya Chandra Pramudya Harvanto', 'Teknik Informatika', 'admin', 'e10adc3949ba59abbe56e057f20f883e', 'profil.jpg', '123456');

-- --------------------------------------------------------

--
-- Struktur dari tabel `alternatif`
--

CREATE TABLE `alternatif` (
  `alternatif_id` int(11) NOT NULL,
  `alternatif_kode` varchar(50) NOT NULL,
  `alternatif_nama` varchar(100) NOT NULL,
  `alternatif_mukim` varchar(100) NOT NULL,
  `alternatif_file` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data untuk tabel `alternatif`
--

INSERT INTO `alternatif` (`alternatif_id`, `alternatif_kode`, `alternatif_nama`, `alternatif_mukim`, `alternatif_file`) VALUES
(2001, '35.08.03', 'Candipuro', '', '1717106665.geojson'),
(2002, '35.08.13', 'Gucialit', '', '1717098723.geojson'),
(2003, '35.08.17', 'Jatiroto', '', '1717098753.geojson'),
(2004, '35.08.16', 'Kedungjajang', '', '1717098791.geojson'),
(2005, '35.08.19', 'Klakah', '', '1717098812.geojson'),
(2006, '35.08.06', 'Kunir', '', '1717098835.geojson'),
(2007, '35.08.10', 'Lumajang', '', '1717098863.geojson'),
(2008, '35.08.14', 'Padang', '', '1717098882.geojson'),
(2009, '35.08.04', 'Pasirian', '', '1717098909.geojson'),
(2010, '35.08.11', 'Pasrujambe', '', '1717098938.geojson'),
(2011, '35.08.02', 'Pronojiwo', '', '1717098975.geojson'),
(2012, '35.08.18', 'RanduAgung', '', '1717099009.geojson'),
(2013, '35.08.20', 'Ranuyoso', '', '1717099045.geojson'),
(2014, '35.08.08', 'Rowokangkung', '', '1717099079.geojson'),
(2015, '35.08.12', 'Senduro', '', '1717099102.geojson'),
(2016, '35.08.15', 'Sukodono', '', '1717099129.geojson'),
(2017, '35.08.21', 'Sumbersuko', '', '1717099157.geojson'),
(2018, '35.08.09', 'Tekung', '', '1717099195.geojson'),
(2019, '35.08.05', 'Tempeh', '', '1717099218.geojson'),
(2020, '35.08.01', 'Tempursari', '', '1717099240.geojson'),
(2021, '35.08.07', 'Yosowilangun', '', '1717099266.geojson');

-- --------------------------------------------------------

--
-- Struktur dari tabel `centroid`
--

CREATE TABLE `centroid` (
  `no` int(11) NOT NULL,
  `tahun` varchar(15) NOT NULL,
  `x1` double NOT NULL,
  `x2` double NOT NULL,
  `x3` double NOT NULL,
  `y1` double NOT NULL,
  `y2` double NOT NULL,
  `y3` double NOT NULL,
  `z1` double NOT NULL,
  `z2` double NOT NULL,
  `z3` double NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `centroid`
--

INSERT INTO `centroid` (`no`, `tahun`, `x1`, `x2`, `x3`, `y1`, `y2`, `y3`, `z1`, `z2`, `z3`) VALUES
(46, '2020', 0.607143, 0.742857, 0.762918, 0.428571, 0.314286, 0.151976, 0.03125, 0, 0.007979),
(47, '2020', 0.625, 0.8, 0.808511, 0.4375, 0.325, 0.194149, 0.03125, 0, 0.007979),
(48, '2020', 0.625, 0.8, 0.808511, 0.4375, 0.325, 0.194149, 0.03125, 0, 0.007979),
(51, '2022', 0.653061, 0.714286, 0.838275, 0.285714, 0.333333, 0.41195, 0, 0, 0),
(52, '2022', 0.653061, 0.714286, 0.838275, 0.285714, 0.333333, 0.41195, 0, 0, 0),
(53, '2019', 0.777778, 0.791667, 0.728261, 0.428571, 0.357143, 0.149068, 0, 0, 0),
(54, '2019', 0.777778, 0.791667, 0.728261, 0.428571, 0.357143, 0.149068, 0, 0, 0),
(59, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0),
(65, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0),
(68, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0),
(91, '20212023', 0.3125, 0.5625, 0.1875, 2.428571, 1.571429, 0.285714, 4, 4, 3),
(92, '20212023', 0.142857, 0.428571, 0.214286, 2.666667, 1.666667, 0.166667, 4, 4, 3),
(93, '20212023', 0.142857, 0.428571, 0.214286, 2.666667, 1.666667, 0.166667, 4, 4, 3),
(95, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0),
(96, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0),
(100, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0),
(114, '0', 0.3125, 0.5625, 0.1875, 2.428571, 1.571429, 0.285714, 4, 4, 3),
(146, '2021-2023', 0.31, 0.56, 0.19, 2.43, 1.57, 0.29, 4, 4, 3),
(147, '2021-2023', 0.14, 0.43, 0.21, 2.67, 1.67, 0.17, 4, 4, 3),
(148, '2021-2023', 0.14, 0.43, 0.21, 2.67, 1.67, 0.17, 4, 4, 3);

-- --------------------------------------------------------

--
-- Struktur dari tabel `centroid_data`
--

CREATE TABLE `centroid_data` (
  `id_centroid` int(50) NOT NULL,
  `tahun` varchar(15) NOT NULL,
  `x1` double NOT NULL,
  `x2` double NOT NULL,
  `x3` double NOT NULL,
  `y1` double NOT NULL,
  `y2` double NOT NULL,
  `y3` double NOT NULL,
  `z1` double NOT NULL,
  `z2` double NOT NULL,
  `z3` double NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `centroid_data`
--

INSERT INTO `centroid_data` (`id_centroid`, `tahun`, `x1`, `x2`, `x3`, `y1`, `y2`, `y3`, `z1`, `z2`, `z3`) VALUES
(34, '2020', 0.5, 0.25, 0, 0.6, 0.4, 0, 0.659574, 0.148936, 0),
(37, '2019', 0.666667, 0.333333, 0, 1, 0.5, 0, 0.652174, 0.130435, 0),
(57, '20212023', 0, 2, 4, 0, 2, 4, 0, 2, 4),
(69, '2021', 0, 2, 4, 0, 2, 4, 0, 2, 4),
(80, '2021-2023', 0, 2, 4, 0, 2, 4, 0, 2, 4);

-- --------------------------------------------------------

--
-- Struktur dari tabel `centroid_temp`
--

CREATE TABLE `centroid_temp` (
  `id` int(5) NOT NULL,
  `iterasi` int(11) NOT NULL,
  `c1` varchar(50) NOT NULL,
  `c2` varchar(50) NOT NULL,
  `c3` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `centroid_temp`
--

INSERT INTO `centroid_temp` (`id`, `iterasi`, `c1`, `c2`, `c3`) VALUES
(1, 1, '1', '0', '0'),
(2, 1, '0', '1', '0'),
(3, 1, '1', '0', '0'),
(4, 1, '0', '1', '0'),
(5, 1, '1', '0', '0'),
(6, 1, '0', '1', '0'),
(7, 1, '1', '0', '0'),
(8, 1, '1', '1', '0'),
(9, 1, '0', '1', '0'),
(10, 1, '1', '0', '0'),
(11, 1, '1', '0', '0'),
(12, 1, '1', '0', '0'),
(13, 1, '1', '1', '0'),
(14, 1, '1', '0', '0'),
(15, 1, '1', '0', '0'),
(16, 1, '1', '0', '0'),
(17, 1, '1', '0', '0'),
(18, 1, '1', '1', '0'),
(19, 1, '0', '0', '1'),
(20, 1, '1', '0', '0'),
(21, 1, '1', '0', '0'),
(22, 2, '1', '0', '0'),
(23, 2, '0', '1', '0'),
(24, 2, '1', '0', '0'),
(25, 2, '0', '1', '0'),
(26, 2, '1', '0', '0'),
(27, 2, '0', '1', '0'),
(28, 2, '1', '0', '0'),
(29, 2, '0', '1', '0'),
(30, 2, '0', '1', '0'),
(31, 2, '1', '0', '0'),
(32, 2, '1', '0', '0'),
(33, 2, '1', '0', '0'),
(34, 2, '1', '0', '0'),
(35, 2, '1', '0', '0'),
(36, 2, '1', '0', '0'),
(37, 2, '1', '0', '0'),
(38, 2, '1', '0', '0'),
(39, 2, '0', '1', '0'),
(40, 2, '0', '0', '1'),
(41, 2, '1', '0', '0'),
(42, 2, '1', '0', '0'),
(43, 3, '1', '0', '0'),
(44, 3, '0', '1', '0'),
(45, 3, '1', '0', '0'),
(46, 3, '0', '1', '0'),
(47, 3, '1', '0', '0'),
(48, 3, '0', '1', '0'),
(49, 3, '1', '0', '0'),
(50, 3, '0', '1', '0'),
(51, 3, '0', '1', '0'),
(52, 3, '1', '0', '0'),
(53, 3, '1', '0', '0'),
(54, 3, '1', '0', '0'),
(55, 3, '1', '0', '0'),
(56, 3, '1', '0', '0'),
(57, 3, '1', '0', '0'),
(58, 3, '1', '0', '0'),
(59, 3, '1', '0', '0'),
(60, 3, '0', '1', '0'),
(61, 3, '0', '0', '1'),
(62, 3, '1', '0', '0'),
(63, 3, '1', '0', '0');

-- --------------------------------------------------------

--
-- Struktur dari tabel `data`
--

CREATE TABLE `data` (
  `data_id` int(11) NOT NULL,
  `data_alternatif` int(11) NOT NULL,
  `data_kriteria` int(11) NOT NULL,
  `data_isi` double NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data untuk tabel `data`
--

INSERT INTO `data` (`data_id`, `data_alternatif`, `data_kriteria`, `data_isi`) VALUES
(1710, 20211, 1, 0),
(1711, 20211, 2, 0),
(1712, 20211, 3, 0),
(1713, 20211, 4, 0),
(1714, 20211, 5, 0),
(1715, 20211, 6, 0),
(1716, 20211, 7, 0),
(1717, 20211, 8, 0),
(1718, 20211, 9, 0),
(1719, 20211, 10, 0),
(1720, 20211, 11, 0),
(1721, 20211, 12, 0),
(1722, 20211, 13, 0),
(1723, 20211, 14, 0),
(1724, 20211, 15, 0),
(1725, 20211, 16, 0),
(1726, 20211, 17, 0),
(1727, 20211, 18, 0),
(1728, 20211, 19, 0),
(1729, 20211, 20, 0),
(1730, 20212, 1, 0),
(1731, 20212, 2, 0),
(1732, 20212, 3, 0),
(1733, 20212, 4, 0),
(1734, 20212, 5, 0),
(1735, 20212, 6, 0),
(1736, 20212, 7, 0),
(1737, 20212, 8, 0),
(1738, 20212, 9, 0),
(1739, 20212, 10, 0),
(1740, 20212, 11, 0),
(1741, 20212, 12, 0),
(1742, 20212, 13, 0),
(1743, 20212, 14, 0),
(1744, 20212, 15, 0),
(1745, 20212, 16, 0),
(1746, 20212, 17, 0),
(1747, 20212, 18, 0),
(1748, 20212, 19, 0),
(1749, 20212, 20, 0),
(1750, 20213, 1, 0),
(1751, 20213, 2, 0),
(1752, 20213, 3, 0),
(1753, 20213, 4, 0),
(1754, 20213, 5, 0),
(1755, 20213, 6, 0),
(1756, 20213, 7, 0),
(1757, 20213, 8, 0),
(1758, 20213, 9, 0),
(1759, 20213, 10, 0),
(1760, 20213, 11, 0),
(1761, 20213, 12, 0),
(1762, 20213, 13, 0),
(1763, 20213, 14, 0),
(1764, 20213, 15, 0),
(1765, 20213, 16, 0),
(1766, 20213, 17, 0),
(1767, 20213, 18, 0),
(1768, 20213, 19, 0),
(1769, 20213, 20, 0),
(1770, 20214, 1, 0),
(1771, 20214, 2, 0),
(1772, 20214, 3, 0),
(1773, 20214, 4, 0),
(1774, 20214, 5, 0),
(1775, 20214, 6, 0),
(1776, 20214, 7, 0),
(1777, 20214, 8, 0),
(1778, 20214, 9, 0),
(1779, 20214, 10, 0),
(1780, 20214, 11, 0),
(1781, 20214, 12, 0),
(1782, 20214, 13, 0),
(1783, 20214, 14, 0),
(1784, 20214, 15, 0),
(1785, 20214, 16, 0),
(1786, 20214, 17, 0),
(1787, 20214, 18, 0),
(1788, 20214, 19, 0),
(1789, 20214, 20, 0),
(1790, 20215, 1, 0),
(1791, 20215, 2, 0),
(1792, 20215, 3, 0),
(1793, 20215, 4, 0),
(1794, 20215, 5, 0),
(1795, 20215, 6, 0),
(1796, 20215, 7, 0),
(1797, 20215, 8, 0),
(1798, 20215, 9, 0),
(1799, 20215, 10, 0),
(1800, 20215, 11, 0),
(1801, 20215, 12, 0),
(1802, 20215, 13, 0),
(1803, 20215, 14, 0),
(1804, 20215, 15, 0),
(1805, 20215, 16, 0),
(1806, 20215, 17, 0),
(1807, 20215, 18, 0),
(1808, 20215, 19, 0),
(1809, 20215, 20, 0),
(1810, 20216, 1, 0),
(1811, 20216, 2, 0),
(1812, 20216, 3, 0),
(1813, 20216, 4, 0),
(1814, 20216, 5, 0),
(1815, 20216, 6, 0),
(1816, 20216, 7, 0),
(1817, 20216, 8, 0),
(1818, 20216, 9, 0),
(1819, 20216, 10, 0),
(1820, 20216, 11, 0),
(1821, 20216, 12, 0),
(1822, 20216, 13, 0),
(1823, 20216, 14, 0),
(1824, 20216, 15, 0),
(1825, 20216, 16, 0),
(1826, 20216, 17, 0),
(1827, 20216, 18, 0),
(1828, 20216, 19, 0),
(1829, 20216, 20, 0),
(1830, 20217, 1, 0),
(1831, 20217, 2, 0),
(1832, 20217, 3, 0),
(1833, 20217, 4, 0),
(1834, 20217, 5, 0),
(1835, 20217, 6, 0),
(1836, 20217, 7, 0),
(1837, 20217, 8, 0),
(1838, 20217, 9, 0),
(1839, 20217, 10, 0),
(1840, 20217, 11, 0),
(1841, 20217, 12, 0),
(1842, 20217, 13, 0),
(1843, 20217, 14, 0),
(1844, 20217, 15, 0),
(1845, 20217, 16, 0),
(1846, 20217, 17, 0),
(1847, 20217, 18, 0),
(1848, 20217, 19, 0),
(1849, 20217, 20, 0),
(1850, 20218, 1, 0),
(1851, 20218, 2, 0),
(1852, 20218, 3, 0),
(1853, 20218, 4, 0),
(1854, 20218, 5, 0),
(1855, 20218, 6, 0),
(1856, 20218, 7, 0),
(1857, 20218, 8, 0),
(1858, 20218, 9, 0),
(1859, 20218, 10, 0),
(1860, 20218, 11, 0),
(1861, 20218, 12, 0),
(1862, 20218, 13, 0),
(1863, 20218, 14, 0),
(1864, 20218, 15, 0),
(1865, 20218, 16, 0),
(1866, 20218, 17, 0),
(1867, 20218, 18, 0),
(1868, 20218, 19, 0),
(1869, 20218, 20, 0),
(1870, 20219, 1, 0),
(1871, 20219, 2, 0),
(1872, 20219, 3, 0),
(1873, 20219, 4, 0),
(1874, 20219, 5, 0),
(1875, 20219, 6, 0),
(1876, 20219, 7, 0),
(1877, 20219, 8, 0),
(1878, 20219, 9, 0),
(1879, 20219, 10, 0),
(1880, 20219, 11, 0),
(1881, 20219, 12, 0),
(1882, 20219, 13, 0),
(1883, 20219, 14, 0),
(1884, 20219, 15, 0),
(1885, 20219, 16, 0),
(1886, 20219, 17, 0),
(1887, 20219, 18, 0),
(1888, 20219, 19, 0),
(1889, 20219, 20, 0),
(1890, 202110, 1, 0),
(1891, 202110, 2, 0),
(1892, 202110, 3, 0),
(1893, 202110, 4, 0),
(1894, 202110, 5, 0),
(1895, 202110, 6, 0),
(1896, 202110, 7, 0),
(1897, 202110, 8, 0),
(1898, 202110, 9, 0),
(1899, 202110, 10, 0),
(1900, 202110, 11, 0),
(1901, 202110, 12, 0),
(1902, 202110, 13, 0),
(1903, 202110, 14, 0),
(1904, 202110, 15, 0),
(1905, 202110, 16, 0),
(1906, 202110, 17, 0),
(1907, 202110, 18, 0),
(1908, 202110, 19, 0),
(1909, 202110, 20, 9),
(1910, 202111, 1, 0),
(1911, 202111, 2, 0),
(1912, 202111, 3, 0),
(1913, 202111, 4, 0),
(1914, 202111, 5, 0),
(1915, 202111, 6, 0),
(1916, 202111, 7, 0),
(1917, 202111, 8, 0),
(1918, 202111, 9, 0);

-- --------------------------------------------------------

--
-- Struktur dari tabel `hasil`
--

CREATE TABLE `hasil` (
  `id` int(5) NOT NULL,
  `alternatif_id` int(5) NOT NULL,
  `predikat` varchar(30) NOT NULL,
  `tahun` varchar(15) NOT NULL,
  `d1` int(11) NOT NULL,
  `d2` int(11) NOT NULL,
  `d3` int(11) NOT NULL,
  `d4` int(11) NOT NULL,
  `d5` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `hasil`
--

INSERT INTO `hasil` (`id`, `alternatif_id`, `predikat`, `tahun`, `d1`, `d2`, `d3`, `d4`, `d5`) VALUES
(1, 20171, 'Sangat Rawan', '0', 4, 9, 29, 0, 0),
(2, 20172, 'Tidak Rawan', '0', 37, 32, 12, 0, 0),
(3, 20173, 'Tidak Rawan', '0', 47, 42, 22, 0, 0),
(4, 20174, 'Tidak Rawan', '0', 32, 27, 7, 0, 0),
(5, 20175, 'Sangat Rawan', '0', 2, 3, 23, 0, 0),
(6, 20176, 'Tidak Rawan', '0', 31, 26, 6, 0, 0),
(7, 20178, 'Tidak Rawan', '0', 40, 35, 15, 0, 0),
(8, 20177, 'Tidak Rawan', '0', 31, 26, 6, 0, 0),
(9, 20179, 'Tidak Rawan', '0', 30, 25, 5, 0, 0),
(10, 201710, 'Tidak Rawan', '0', 20, 15, 5, 0, 0),
(11, 201711, 'Tidak Rawan', '0', 35, 30, 10, 0, 0);

-- --------------------------------------------------------

--
-- Struktur dari tabel `hasil_centroid`
--

CREATE TABLE `hasil_centroid` (
  `nomor` int(2) NOT NULL,
  `c1a` varchar(50) NOT NULL,
  `c1b` varchar(50) NOT NULL,
  `c1c` varchar(50) NOT NULL,
  `c2a` varchar(50) NOT NULL,
  `c2b` varchar(50) NOT NULL,
  `c2c` varchar(50) NOT NULL,
  `c3a` varchar(50) NOT NULL,
  `c3b` varchar(50) NOT NULL,
  `c3c` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `hasil_centroid`
--

INSERT INTO `hasil_centroid` (`nomor`, `c1a`, `c1b`, `c1c`, `c2a`, `c2b`, `c2c`, `c3a`, `c3b`, `c3c`) VALUES
(1, '0.31', '0.56', '0.19', '2.43', '1.57', '0.29', '4', '4', '3'),
(2, '0.14', '0.43', '0.21', '2.67', '1.67', '0.17', '4', '4', '3'),
(3, '0.14', '0.43', '0.21', '2.67', '1.67', '0.17', '4', '4', '3');

-- --------------------------------------------------------

--
-- Struktur dari tabel `kriteria`
--

CREATE TABLE `kriteria` (
  `kriteria_id` int(15) NOT NULL,
  `alternatif_id` int(11) NOT NULL,
  `c1c` int(15) NOT NULL,
  `c2c` int(15) NOT NULL,
  `c3c` int(15) NOT NULL,
  `tahun` varchar(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data untuk tabel `kriteria`
--

INSERT INTO `kriteria` (`kriteria_id`, `alternatif_id`, `c1c`, `c2c`, `c3c`, `tahun`) VALUES
(2221, 2001, 0, 0, 0, '2021-2023'),
(2222, 2002, 2, 3, 1, '2021-2023'),
(2223, 2003, 0, 0, 0, '2021-2023'),
(2224, 2004, 5, 0, 0, '2021-2023'),
(2225, 2005, 0, 0, 0, '2021-2023'),
(2226, 2006, 3, 3, 0, '2021-2023'),
(2227, 2007, 0, 0, 0, '2021-2023'),
(2228, 2008, 1, 2, 0, '2021-2023'),
(2229, 2009, 3, 1, 0, '2021-2023'),
(2230, 2010, 0, 0, 0, '2021-2023'),
(2231, 2011, 0, 0, 0, '2021-2023'),
(2232, 2012, 1, 1, 0, '2021-2023'),
(2233, 2013, 1, 1, 1, '2021-2023'),
(2234, 2014, 0, 0, 0, '2021-2023'),
(2235, 2015, 0, 0, 0, '2021-2023'),
(2236, 2016, 0, 1, 1, '2021-2023'),
(2237, 2017, 0, 2, 0, '2021-2023'),
(2238, 2018, 2, 1, 0, '2021-2023'),
(2239, 2019, 4, 4, 3, '2021-2023'),
(2240, 2020, 0, 0, 0, '2021-2023'),
(2241, 2021, 0, 1, 1, '2021-2023');

-- --------------------------------------------------------

--
-- Struktur dari tabel `normalisasi`
--

CREATE TABLE `normalisasi` (
  `id` int(15) NOT NULL,
  `alternatif_id` int(11) NOT NULL,
  `c1c` double NOT NULL,
  `c2c` double NOT NULL,
  `c3c` double NOT NULL,
  `tahun` int(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Struktur dari tabel `predikat`
--

CREATE TABLE `predikat` (
  `id` int(15) NOT NULL,
  `alternatif_id` varchar(50) NOT NULL,
  `hasil` varchar(50) NOT NULL,
  `tahun` varchar(15) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `predikat`
--

INSERT INTO `predikat` (`id`, `alternatif_id`, `hasil`, `tahun`) VALUES
(51093, '2001', 'Aman', '2021-2023'),
(51094, '2002', 'Rawan', '2021-2023'),
(51095, '2003', 'Aman', '2021-2023'),
(51096, '2004', 'Rawan', '2021-2023'),
(51097, '2005', 'Aman', '2021-2023'),
(51098, '2006', 'Rawan', '2021-2023'),
(51099, '2007', 'Aman', '2021-2023'),
(51100, '2008', 'Rawan', '2021-2023'),
(51101, '2009', 'Rawan', '2021-2023'),
(51102, '2010', 'Aman', '2021-2023'),
(51103, '2011', 'Aman', '2021-2023'),
(51104, '2012', 'Aman', '2021-2023'),
(51105, '2013', 'Aman', '2021-2023'),
(51106, '2014', 'Aman', '2021-2023'),
(51107, '2015', 'Aman', '2021-2023'),
(51108, '2016', 'Aman', '2021-2023'),
(51109, '2017', 'Aman', '2021-2023'),
(51110, '2018', 'Rawan', '2021-2023'),
(51111, '2019', 'Sangat Rawan', '2021-2023'),
(51112, '2020', 'Aman', '2021-2023'),
(51113, '2021', 'Aman', '2021-2023');

-- --------------------------------------------------------

--
-- Struktur dari tabel `rata_rata`
--

CREATE TABLE `rata_rata` (
  `id` int(5) NOT NULL,
  `alternatif_id` int(11) NOT NULL,
  `rata_rata` int(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `rata_rata`
--

INSERT INTO `rata_rata` (`id`, `alternatif_id`, `rata_rata`) VALUES
(1, 20171, 89),
(2, 20172, 48),
(3, 20173, 38),
(4, 20174, 53),
(5, 20175, 83),
(6, 20176, 54),
(7, 20178, 45),
(8, 20177, 54),
(9, 20179, 55),
(10, 201710, 65),
(11, 201711, 50);

-- --------------------------------------------------------

--
-- Struktur dari tabel `tes`
--

CREATE TABLE `tes` (
  `id` int(15) NOT NULL,
  `isi` varchar(50) NOT NULL,
  `nama` varchar(50) NOT NULL,
  `klas` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `tes`
--

INSERT INTO `tes` (`id`, `isi`, `nama`, `klas`) VALUES
(1, 'c1c', '2021', '<i class=\'fas fa-globe\'></i>'),
(2, 'c2c', '2022', '<i class=\'fas fa-globe\'></i>'),
(3, 'c3c', '2023(triwulanpertama)', '<i class=\'fas fa-globe\'></i>');

--
-- Indexes for dumped tables
--

--
-- Indeks untuk tabel `admin`
--
ALTER TABLE `admin`
  ADD PRIMARY KEY (`admin_id`);

--
-- Indeks untuk tabel `alternatif`
--
ALTER TABLE `alternatif`
  ADD PRIMARY KEY (`alternatif_id`);

--
-- Indeks untuk tabel `centroid`
--
ALTER TABLE `centroid`
  ADD PRIMARY KEY (`no`);

--
-- Indeks untuk tabel `centroid_data`
--
ALTER TABLE `centroid_data`
  ADD PRIMARY KEY (`id_centroid`);

--
-- Indeks untuk tabel `centroid_temp`
--
ALTER TABLE `centroid_temp`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `data`
--
ALTER TABLE `data`
  ADD PRIMARY KEY (`data_id`);

--
-- Indeks untuk tabel `hasil`
--
ALTER TABLE `hasil`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `hasil_centroid`
--
ALTER TABLE `hasil_centroid`
  ADD PRIMARY KEY (`nomor`);

--
-- Indeks untuk tabel `kriteria`
--
ALTER TABLE `kriteria`
  ADD PRIMARY KEY (`kriteria_id`);

--
-- Indeks untuk tabel `normalisasi`
--
ALTER TABLE `normalisasi`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `predikat`
--
ALTER TABLE `predikat`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `rata_rata`
--
ALTER TABLE `rata_rata`
  ADD PRIMARY KEY (`id`);

--
-- Indeks untuk tabel `tes`
--
ALTER TABLE `tes`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT untuk tabel yang dibuang
--

--
-- AUTO_INCREMENT untuk tabel `admin`
--
ALTER TABLE `admin`
  MODIFY `admin_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT untuk tabel `centroid`
--
ALTER TABLE `centroid`
  MODIFY `no` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=149;

--
-- AUTO_INCREMENT untuk tabel `centroid_data`
--
ALTER TABLE `centroid_data`
  MODIFY `id_centroid` int(50) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=81;

--
-- AUTO_INCREMENT untuk tabel `centroid_temp`
--
ALTER TABLE `centroid_temp`
  MODIFY `id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=64;

--
-- AUTO_INCREMENT untuk tabel `data`
--
ALTER TABLE `data`
  MODIFY `data_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1919;

--
-- AUTO_INCREMENT untuk tabel `hasil`
--
ALTER TABLE `hasil`
  MODIFY `id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT untuk tabel `hasil_centroid`
--
ALTER TABLE `hasil_centroid`
  MODIFY `nomor` int(2) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT untuk tabel `kriteria`
--
ALTER TABLE `kriteria`
  MODIFY `kriteria_id` int(15) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2242;

--
-- AUTO_INCREMENT untuk tabel `normalisasi`
--
ALTER TABLE `normalisasi`
  MODIFY `id` int(15) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9024;

--
-- AUTO_INCREMENT untuk tabel `predikat`
--
ALTER TABLE `predikat`
  MODIFY `id` int(15) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51114;

--
-- AUTO_INCREMENT untuk tabel `rata_rata`
--
ALTER TABLE `rata_rata`
  MODIFY `id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT untuk tabel `tes`
--
ALTER TABLE `tes`
  MODIFY `id` int(15) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
COMMIT;

/*!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 */;
