CREATE TABLE IF NOT EXISTS `battles` ( `battle_id` bigint(20) unsigned NOT NULL auto_increment, `winner` bigint(20) unsigned NOT NULL, `loser` bigint(20) unsigned NOT NULL, PRIMARY KEY (`battle_id`), KEY `winner` (`winner`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `images` ( `image_id` bigint(20) unsigned NOT NULL auto_increment, `filename` varchar(255) NOT NULL, `score` int(10) unsigned NOT NULL default ’1500′, `wins` int(10) unsigned NOT NULL default ’0′, `losses` int(10) unsigned NOT NULL default ’0′, PRIMARY KEY (`image_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
çalıştır deyince
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '’1500′, `wins` int(10) unsigned NOT NULL default ’0′, `losses` int(10)' at line 4
hatası alıyorum sevap isteyen bi el atsın lütfen.Deliricem
1. sayfa
Hizmet kalitesi için çerezleri kullanabiliriz, DH'yi kullanırken depoladığımız çerezlerle ilgili veri politikamıza gözatın.
CREATE TABLE IF NOT EXISTS `battles` (
`battle_id` bigint(20) unsigned NOT NULL auto_increment,
`winner` bigint(20) unsigned NOT NULL,
`loser` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`battle_id`),
KEY `winner` (`winner`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `images` (
`image_id` bigint(20) unsigned NOT NULL auto_increment,
`filename` varchar(255) NOT NULL,
`score` int(10) unsigned NOT NULL default ’1500′,
`wins` int(10) unsigned NOT NULL default ’0′,
`losses` int(10) unsigned NOT NULL default ’0′,
PRIMARY KEY (`image_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
çalıştır deyince
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '’1500′,
`wins` int(10) unsigned NOT NULL default ’0′,
`losses` int(10)' at line 4
hatası alıyorum sevap isteyen bi el atsın lütfen.Deliricem