排序
数据库笔记
创建数据库 CREATE DATABASE IF NOT EXISTS 数据库名; 删除数据库 -- 直接删除数据库,不检查是否存在 DROP DATABASE 数据库名; -- 查是否存在 DROP DATABASE IF EXISTS 数据库名; 使用数据库 U...
mysql课堂训练–yxj
-- (1)删除数据库 drop database if exists t3; -- (2)创建数据库 create database if not exists t3; -- (3)使用数据库 use t3; -- 第一篇 drop table if exists account; create table if not...
3.18mysql五种表代码
create database petstore; use petstore; create table account ( userid char(6) not null , fullname varchar(10) not null , password varchar(20) not null , sex char(2) not...
MYSQL_练习_5个表_24.3.18
drop database if exists t4; create database if not exists t4; use t4; drop table if exists account; create table account ( userid char(6) not null primary key comment '用户号', ful...
数据库MYsql笔记2024年3月18
-- (1)删除数据库 drop database if exists t4; -- (2)创建数据库 create database if not exists t4; -- (3)使用数据库 use t4; -- 删除数据表 drop table if exists book; -- 在t3中创建数据...
Mysql_练习_24.4.15&24.4.22&24.5.6
数据表一键导入 一键导入SQL脚本.zip下载zip文件22.0K 初始化 一、简单查询. 二、分组与排序 三、多表连接查询 四、嵌套子查询
4月4MYSQL日常练习
drop database if exists xsxk; create database if not exists xsxk; use xsxk; show databases; -- 4请根据以下需要存储的数据,设计各表结构即表中各列定义 -- 5.1学生表设学号为主键,要求...
MySQL_练习_24.3.11
-- (1)删除数据库 drop database if exists t3; -- (2)创建数据库 create database if not exists t3; -- (3)使用数据库 use t3; -- 删除数据表 drop table if exists book; -- 在t3中创建数据...