text: -- phpMyAdmin SQL Dump
  -- version 4.9.2
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Waktu pembuatan: 01 Nov 2020 pada 07.06
  -- Versi server: 10.4.11-MariaDB
  -- Versi PHP: 7.4.1
  
  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: `crud_ajax`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `tbl_barang`
  --
  
  CREATE TABLE `tbl_barang` (
    `id` int(11) NOT NULL,
    `kode_barang` varchar(128) NOT NULL,
    `nama_barang` varchar(128) NOT NULL,
    `harga` int(11) NOT NULL,
    `stok` int(11) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Dumping data untuk tabel `tbl_barang`
  --
  
  INSERT INTO `tbl_barang` (`id`, `kode_barang`, `nama_barang`, `harga`, `stok`) VALUES
  (1, 'A31E', 'LontatidaaD', 40000, 20),
  (2, 'AY612', 'YHAHAHA', 6000000, 1),
  (3, 'awd', 'awda', 2, 12),
  (4, 'awd', 'awd', 2, 12),
  (5, 'awd', 'awd', 2, 12),
  (6, 'awd', 'awd', 2, 12),
  (8, 'awd', 'awd', 11, 11),
  (9, 'aw', 'daw', 1, 1),
  (10, 'awda', 'awda', 11, 11);
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indeks untuk tabel `tbl_barang`
  --
  ALTER TABLE `tbl_barang`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT untuk tabel yang dibuang
  --
  
  --
  -- AUTO_INCREMENT untuk tabel `tbl_barang`
  --
  ALTER TABLE `tbl_barang`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
  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 */;
  