text: -- phpMyAdmin SQL Dump
  -- version 5.0.1
  -- https://www.phpmyadmin.net/
  --
  -- Host: localhost
  -- Generation Time: Jul 04, 2021 at 06:10 AM
  -- Server version: 10.4.11-MariaDB
  -- PHP Version: 7.4.3
  
  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: `sip`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `basispengetahuan`
  --
  
  CREATE TABLE `basispengetahuan` (
    `namapenyakit` varchar(100) NOT NULL,
    `gejala` varchar(50) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `basispengetahuan`
  --
  
  INSERT INTO `basispengetahuan` (`namapenyakit`, `gejala`) VALUES
  ('Poly Vera', 'Pusing'),
  ('Trombosit', 'Pilek'),
  ('Mielofibrosis', 'Lemas'),
  ('Poly Vera', 'Pusing'),
  ('Trombosit', 'Lemas'),
  ('Poly Vera', 'Pusing');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `gejala`
  --
  
  CREATE TABLE `gejala` (
    `idgejala` varchar(10) NOT NULL,
    `gejala` varchar(1000) NOT NULL,
    `daerah` varchar(10) NOT NULL,
    `jenispenyakit` varchar(20) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `gejala`
  --
  
  INSERT INTO `gejala` (`idgejala`, `gejala`, `daerah`, `jenispenyakit`) VALUES
  ('G001', 'Lemas', 'Kaki', 'Trombosit'),
  ('G002', 'Pilek', 'Badan', 'Trombosit'),
  ('G003', 'Pusing', 'Kepala', 'Sel darah');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `penyakit`
  --
  
  CREATE TABLE `penyakit` (
    `idpenyakit` varchar(20) NOT NULL,
    `namapenyakit` varchar(1000) NOT NULL,
    `jenispenyakit` varchar(20) NOT NULL,
    `keterangan` varchar(1000) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `penyakit`
  --
  
  INSERT INTO `penyakit` (`idpenyakit`, `namapenyakit`, `jenispenyakit`, `keterangan`) VALUES
  ('P001', 'Poly Vera', 'Sel darah', 'abcd'),
  ('P002', 'Trombosit', 'Trombosit', 'TROMBOSIT');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `user`
  --
  
  CREATE TABLE `user` (
    `iduser` varchar(20) NOT NULL,
    `username` varchar(20) NOT NULL,
    `password` varchar(20) NOT NULL,
    `nama` varchar(20) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `user`
  --
  
  INSERT INTO `user` (`iduser`, `username`, `password`, `nama`) VALUES
  ('U001', 'admin', 'admin', 'admin');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `gejala`
  --
  ALTER TABLE `gejala`
    ADD PRIMARY KEY (`idgejala`);
  
  --
  -- Indexes for table `penyakit`
  --
  ALTER TABLE `penyakit`
    ADD PRIMARY KEY (`idpenyakit`);
  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 */;
  