-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rizqi Wijaya
committed
Jul 1, 2022
1 parent
41731ee
commit 9888da3
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
-- phpMyAdmin SQL Dump | ||
-- version 5.0.2 | ||
-- https://www.phpmyadmin.net/ | ||
-- | ||
-- Host: 127.0.0.1 | ||
-- Waktu pembuatan: 01 Jul 2022 pada 17.29 | ||
-- Versi server: 10.4.14-MariaDB | ||
-- Versi PHP: 7.2.33 | ||
|
||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | ||
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: `cleango` | ||
-- | ||
|
||
-- -------------------------------------------------------- | ||
|
||
-- | ||
-- Struktur dari tabel `products` | ||
-- | ||
|
||
CREATE TABLE `products` ( | ||
`id` int(11) NOT NULL, | ||
`name` varchar(200) NOT NULL, | ||
`amount` int(11) NOT NULL, | ||
`price` int(11) NOT NULL | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; | ||
|
||
-- | ||
-- Dumping data untuk tabel `products` | ||
-- | ||
|
||
INSERT INTO `products` (`id`, `name`, `amount`, `price`) VALUES | ||
(1, 'Book', 3, 45), | ||
(2, 'Bolpoint', 2, 50), | ||
(3, 'Headset', 3, 75); | ||
|
||
-- | ||
-- Indexes for dumped tables | ||
-- | ||
|
||
-- | ||
-- Indeks untuk tabel `products` | ||
-- | ||
ALTER TABLE `products` | ||
ADD PRIMARY KEY (`id`); | ||
|
||
-- | ||
-- AUTO_INCREMENT untuk tabel yang dibuang | ||
-- | ||
|
||
-- | ||
-- AUTO_INCREMENT untuk tabel `products` | ||
-- | ||
ALTER TABLE `products` | ||
MODIFY `id` int(11) 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 */; |