Created
September 29, 2017 09:51
-
-
Save suryanto/cdf7023a78e1c68d1b28b1acb00b9f66 to your computer and use it in GitHub Desktop.
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
-- phpMyAdmin SQL Dump | |
-- version 4.7.4 | |
-- https://www.phpmyadmin.net/ | |
-- | |
-- Host: localhost | |
-- Generation Time: Sep 29, 2017 at 09:51 AM | |
-- Server version: 5.7.19 | |
-- PHP Version: 7.0.23 | |
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; | |
SET AUTOCOMMIT = 0; | |
START TRANSACTION; | |
SET time_zone = "+00:00"; | |
-- | |
-- Database: `company` | |
-- | |
-- -------------------------------------------------------- | |
-- | |
-- Table structure for table `contact` | |
-- | |
CREATE TABLE `contact` ( | |
`id` mediumint(8) NOT NULL, | |
`name` varchar(255) NOT NULL, | |
`mobile_phone` varchar(255) NOT NULL, | |
`company` varchar(255) NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | |
-- | |
-- Dumping data for table `contact` | |
-- | |
INSERT INTO `contact` (`id`, `name`, `mobile_phone`, `company`) VALUES | |
(1, 'suryanto', '1212122121', '1'), | |
(2, 'agus', '4444444444', '1'), | |
(3, 'Budi', '67676767676', '2'), | |
(4, 'Joko', '88888888', '3'); | |
-- | |
-- Indexes for dumped tables | |
-- | |
-- | |
-- Indexes for table `contact` | |
-- | |
ALTER TABLE `contact` | |
ADD PRIMARY KEY (`id`); | |
-- | |
-- AUTO_INCREMENT for dumped tables | |
-- | |
-- | |
-- AUTO_INCREMENT for table `contact` | |
-- | |
ALTER TABLE `contact` | |
MODIFY `id` mediumint(8) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; | |
COMMIT; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment