Skip to content

Instantly share code, notes, and snippets.

@siteslave
Created June 10, 2013 06:13
Show Gist options
  • Save siteslave/5746834 to your computer and use it in GitHub Desktop.
Save siteslave/5746834 to your computer and use it in GitHub Desktop.
CREATE TABLE `master` (
`GROUP` varchar(29) DEFAULT NULL,
`TYPE` varchar(50) DEFAULT NULL,
`GFCODE` varchar(25) DEFAULT NULL,
`ID` varchar(25) DEFAULT NULL,
`TITLE` varchar(150) DEFAULT NULL,
`DATE1` varchar(8) DEFAULT NULL,
`DATE` date DEFAULT NULL,
`NDATE1` date DEFAULT NULL,
`SPACE` varchar(150) DEFAULT NULL,
`VERSION1` varchar(20) DEFAULT NULL,
`VERSION2` varchar(30) DEFAULT NULL,
`NUMBER` varchar(50) DEFAULT NULL,
`PRICE` double DEFAULT NULL,
`B3` varchar(15) DEFAULT NULL,
`BILL_NO1` varchar(15) DEFAULT NULL,
`TYPE_IN` varchar(15) DEFAULT NULL,
`TYPEINYEAR` varchar(4) DEFAULT NULL,
`BILL_NO2` varchar(15) DEFAULT NULL,
`USEGROUP` varchar(50) DEFAULT NULL,
`IDGROUP` varchar(8) DEFAULT NULL,
`TYPEMONEY` varchar(30) DEFAULT NULL,
`CO1` varchar(40) DEFAULT NULL,
`CO2` varchar(40) DEFAULT NULL,
`REM` varchar(30) DEFAULT NULL,
`WDATE1` date DEFAULT NULL,
`WDATE2` date DEFAULT NULL,
`RATEYEAR` double DEFAULT NULL,
`EDATE` date DEFAULT NULL,
`TEST` date DEFAULT NULL,
`STATUS` varchar(1) DEFAULT NULL,
`MT11` varchar(50) DEFAULT NULL,
`STATUS2` varchar(1) DEFAULT NULL,
`MEM1` varchar(30) DEFAULT NULL,
`SYEAR` varchar(4) DEFAULT NULL,
`SASAM1` double DEFAULT NULL,
`SASAM4` double DEFAULT NULL,
`SASAM3` double DEFAULT NULL,
`SASAM2` double DEFAULT NULL,
`TDATE` int(11) DEFAULT NULL,
`UPDATE` date DEFAULT NULL,
`LASTPRICE` double DEFAULT NULL,
`MARK` varchar(1) DEFAULT NULL,
`CHECK1` varchar(1) DEFAULT NULL,
`SAHET1` varchar(100) DEFAULT NULL,
`SAHET2` varchar(100) DEFAULT NULL,
`SAHET3` varchar(100) DEFAULT NULL,
`SAHET4` varchar(100) DEFAULT NULL,
`SAHET5` varchar(100) DEFAULT NULL,
`SYBERG` varchar(30) DEFAULT NULL,
`NOCERN` varchar(10) DEFAULT NULL,
`SYCERN` varchar(30) DEFAULT NULL,
`SALE` double DEFAULT NULL,
`WARRANTY` int(11) DEFAULT NULL,
`MKNUM` varchar(10) DEFAULT NULL,
`BMECODE` varchar(15) DEFAULT NULL,
`PRICESALE` double DEFAULT NULL,
KEY `idx_id` (`ID`),
KEY `idx_user` (`USEGROUP`),
KEY `idx_type` (`TYPE`),
KEY `idx_group` (`GROUP`),
KEY `idx_v1` (`VERSION1`),
KEY `idx_v2` (`VERSION2`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment