1 2 3 4 5 6 7 8 9 10 11
| CREATE TABLE users ( id INT PRIMARY KEY, `name` VARCHAR ( 40 ), `password` VARCHAR ( 40 ), email VARCHAR ( 60 ), birthday DATE ); INSERT INTO users ( id, `name`, `password`, email, birthday ) VALUES ( 1, '张三', '123456', 'zs@qq.com', '2000-01-01' ); INSERT INTO users ( id, `name`, `password`, email, birthday ) VALUES ( 2, '李四', '123456', 'ls@qq.com', '2000-01-01' ); INSERT INTO users ( id, `name`, `password`, email, birthday ) VALUES ( 3, '王五', '123456', 'ww@qq.com', '2000-01-01' );∞ SELECT * FROM users;
|