Created
January 14, 2014 06:50
-
-
Save zs1621/8414201 to your computer and use it in GitHub Desktop.
创建实验index1表-mysql地理搜索
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
CREATE TABLE `index1` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`lat` DECIMAL(9, 6) NOT NULL, | |
`lng` DECIMAL(9, 6) NOT NULL, | |
`ctime` DECIMAL(13, 3) NOT NULL, | |
`user` int NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; | |
desc `index1`;# check the table index1 u create |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment