SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SHOW DATABASES; DROP TABLE IF EXISTS `student`; CREATE TABLE `student` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(15) DEFAULT NULL, `sex` char(4) DEFAULT NULL, `address` varchar(20) DEFAULT NULL, `hobby` varchar(30) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8; insert into `student`(`id`,`name`,`sex`,`address`,`hobby`) values (1,'张飞','男','河南省','游泳'), (6,'大乔','女','新疆省','游泳'), (10,'周瑜','男','陕西','游泳'), (16,'曹操','女','巴西','游泳'), (17,'张三','女','陕西','篮球');

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear