You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE TABLE IF NOT EXISTS `users`(`id` MEDIUMINT NOT NULL AUTO_INCREMENT, `username` CHAR(30) NOT NULL, `password` CHAR(30) NOT NULL, PRIMARY KEY (`id`));
INSERT INTO `users` (`username`, `password`) VALUES
('user1', 'password1'),
('user2', 'password2'),
('user3', 'password3');
CREATE TABLE IF NOT EXISTS `cities`(`id` MEDIUMINT NOT NULL AUTO_INCREMENT, `name` CHAR(30) NOT NULL, `coordinate` POINT NOT NULL, SPATIAL INDEX `SPATIAL` (`coordinate`), PRIMARY KEY (`id`));
INSERT INTO `cities` (`name`, `coordinate`) VALUES