MySQL共19篇

数据库笔记

创建数据库 CREATE DATABASE IF NOT EXISTS 数据库名; 删除数据库 -- 直接删除数据库,不检查是否存在 DROP DATABASE 数据库名; -- 查是否存在 DROP DATABASE IF EXISTS 数据库名; 使用数据库 U...
北梦的头像-北梦の博客SVIP北梦1年前
028913

Mysql_数据插入删除修改_作业_24.4.1

P96 分别插入 合并插入 P100 P105
北梦的头像-北梦の博客SVIP北梦1年前
01961

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...
iu不错哦的头像-北梦の博客iu不错哦1年前
01377

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...
X.蔡徐坤的头像-北梦の博客X.蔡徐坤1年前
01249

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...
北梦的头像-北梦の博客SVIP北梦1年前
01219

MYSQL_练习_24.3.25

练习1 练习2
北梦的头像-北梦の博客SVIP北梦1年前
012012

数据库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中创建数据...
珊瑚海的头像-北梦の博客珊瑚海1年前
01188

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 ( -- 读者...
珊瑚海的头像-北梦の博客珊瑚海1年前
01161

4月4MYSQL日常练习

drop database if exists xsxk; create database if not exists xsxk; use xsxk; show databases; -- 4请根据以下需要存储的数据,设计各表结构即表中各列定义 -- 5.1学生表设学号为主键,要求...
珊瑚海的头像-北梦の博客珊瑚海1年前
01133

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中创建数据...
北梦的头像-北梦の博客SVIP北梦1年前
010911