当前位置:网站首页>Embedded database development programming (IV) -- DDL, DML
Embedded database development programming (IV) -- DDL, DML
2022-06-29 12:02:00 【Light chasing rain】
List of articles
First enter
sqlite3 file name
One 、 Create table
- Create table syntax
CREATE TABLE table_name(name1 type) - Field modifier
- primary key Define the primary key column
- AUTOINCREMENT Automatic growth
- UNIQUE Unique value for field
- NOT NULL The value of the field is not empty

Two 、 Delete table
DROP TABLE Table name
3、 ... and 、 Modify table
3.1 Add fields add

3.2 Delete field (mysql)

3.3 Modify fields modify and change(mysql)
change

modify

3.4 Specify where the added fields are displayed in the table (mysql)

3.5 Table rename

Four 、 Built in commands
.table: See if the table was created successfully .schema: View the full information of the list
5、 ... and 、DML






sqlite3 No command in truncate table
Clear the table : use delete from Table name
边栏推荐
- Object class - the father of ten thousand classes
- Rebuild confidence in China's scientific research - the latest nature index 2022 released that China's research output increased the most
- PyTorch学习之归一化层(BatchNorm、LayerNorm、InstanceNorm、GroupNorm)[通俗易懂]
- 正大期货留4数据整合
- 亲测!Centos7部署PHP + Swoole
- 2022 construction worker civil engineering direction general foundation (construction worker) theoretical question bank simulation test platform operation
- TTChat x Zadig 开源共创 Helm 接入场景,环境治理搞得定!
- ETL为什么经常变成ELT甚至LET?
- 哈希Hash竞猜游戏系统开发详解技术丨哈希竞猜游戏系统开发方案解析
- 镜像漏洞扫描工具:Trivy
猜你喜欢
![Jerry's configuration of TWS cross pairing [chapter]](/img/35/a041093ce3dab8e2739bbc1466ba29.png)
Jerry's configuration of TWS cross pairing [chapter]
![[VTK] MFC grid editor based on vtk8.2](/img/c5/d0f070ccb819fc682855319b7415e0.png)
[VTK] MFC grid editor based on vtk8.2

MATLAB Gui 实现点击按钮,打开文件对话框,导入图片功能

Introduction to software engineering - Chapter 5 - overall design
![[NLP] text generation topic 1: basic knowledge](/img/cf/2e29e55344ea4cc8ce48777878b867.png)
[NLP] text generation topic 1: basic knowledge

龙书虎书鲸书啃不动?试试豆瓣评分9.5的猴书

ONES 创始人王颖奇对话《财富》(中文版):中国有没有优秀的软件?

How to identify the exact length and width of the contour

行业分析| 快对讲,楼宇对讲

Object 类——万类之父
随机推荐
ONES 创始人王颖奇对话《财富》(中文版):中国有没有优秀的软件?
杰理之关于 TWS 交叉配对的配置【篇】
Oracle扩充分布式云端服务 为更多客户带来全面公有云服务
QT learning 11 string classes in QT
Qt学习16 Qt 对象间的父子关系
&3 在浏览器中查看请求报文和响应报文
龙书虎书鲸书啃不动?试试豆瓣评分9.5的猴书
2022 Guangxi provincial safety officer C certificate examination questions and mock examination
Qt学习06 窗口部件及窗口类型
服务数百万开发者,首届 Techo Day 腾讯技术开放日发布 7 款“轻量级”产品
Object 类——万类之父
地平线开发板配置网段
【文献翻译】Concealed Object Detection(伪装目标检测)
Qt学习15 用户界面与业务逻辑的分离
【高并发】缓存思路
杰理之手动配对方式【篇】
Deep understanding of volatile keyword
2022 amination process test question simulation test question bank and online simulation test
iMile 利用 Zadig 多云环境周部署千次,跨云跨地域持续交付全球业务
面试高并发,凉了!!(全程高能,建议收藏)