排序
数据库笔记
创建数据库 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_练习_24.4.15&24.4.22&24.5.6
数据表一键导入 一键导入SQL脚本.zip下载zip文件22.0K 初始化 一、简单查询. 二、分组与排序 三、多表连接查询 四、嵌套子查询
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中创建数据...
Mysql_LibraryDB
drop database if exists LibraryDB; create database if not exists LibraryDB; use LibraryDB; -- 1. 读者表 (Readers Table) drop table if exists readers; create table readers ( -- 读者...
作业2024数据库3月8
-- 第一个 create table if not exists acc_ount( userid char(6) not null primary key comment '用户名', fullname varchar(10) not null comment '用户名', pass_word varchar(20) not null ...