-- phpMyAdmin SQL Dump
-- version 5.0.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 01, 2021 at 08:43 AM
-- Server version: 10.4.14-MariaDB
-- PHP Version: 7.2.34

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: `member`
--

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

--
-- Table structure for table `mem_tb`
--

CREATE TABLE `mem_tb` (
  `mem_id` int(4) NOT NULL COMMENT 'รหัสสมาชิก',
  `mem_fname` varchar(100) NOT NULL COMMENT 'ชื่อ',
  `mem_lname` varchar(100) NOT NULL COMMENT 'นามสกุล',
  `mem_phone` varchar(10) NOT NULL COMMENT 'เบอร์โทร'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `mem_tb`
--

INSERT INTO `mem_tb` (`mem_id`, `mem_fname`, `mem_lname`, `mem_phone`) VALUES
(1, 'นายเทอดศักดิ์', 'โพธิ์ขาว', '044399167'),
(2, 'นางสาวสมศรี', 'คนดี', '0632525452'),
(3, 'นายสมชาย', 'ใจดี', '036252415');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `mem_tb`
--
ALTER TABLE `mem_tb`
  ADD UNIQUE KEY `mem_id` (`mem_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `mem_tb`
--
ALTER TABLE `mem_tb`
  MODIFY `mem_id` int(4) NOT NULL AUTO_INCREMENT COMMENT 'รหัสสมาชิก', 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 */;
