当前位置:网站首页>SQLite Reader 插件测试SQLite语法
SQLite Reader 插件测试SQLite语法
2022-06-27 01:27:00 【flysh05】
一款很好用的插件,来做SQLite 数据库的创建,数据插入修改,删除,更新等测试验证。
1. 安装插件
https://chrome.google.com/webstore/detail/sqlite-reader/clpnhenadbibdbfendahnlakkcpocmej

轻松浏览,编辑和管理浏览器内的SQLite数据库!
SQLite Reader是一個擴展,可以幫助您輕鬆瀏覽,編輯和呈現SQLite數據庫。在我們的網站上,您可以輕鬆地從PC或Google Drive中加載SQLite數據庫,編輯數據庫並將文件保存在PC上或Google雲端硬盤上,而無需將其保存到桌面上。您可以在瀏覽器中使用所有操作!該軟件100%免費,無需您付費。
2. 测试SQLite
https://sqlreader.freebusinessapps.net/reader
可以从本地加载数据库,也可以网盘加载数据库,可以插件Sample数据库

```sql
DROP TABLE IF EXISTS colleagues;
CREATE TABLE colleagues(id integer,name text,title text,manager integer,hired date,salary integer,commission float, dept integer);
INSERT INTO colleagues VALUES (1,'JOHNSON','ADMIN',6,'2011-12-17',18000,NULL,4);
INSERT INTO colleagues VALUES (2,'HARDING','MANAGER',9,'2011-02-02',52000,300,3);
INSERT INTO colleagues VALUES (3,'TAFT','SALES I',2,'2015-01-02',25000,500,3);
INSERT INTO colleagues VALUES (4,'HOOVER','SALES II',2,'2011-04-02',27000,NULL,3);
INSERT INTO colleagues VALUES (5,'LINCOLN','TECH',6,'2012-06-23',22500,1400,4);
INSERT INTO colleagues VALUES (6,'GARFIELD','MANAGER',9,'2013-05-01',54000,NULL,4);
INSERT INTO colleagues VALUES (7,'POLK','TECH',6,'2014-09-22',25000,NULL,4);
INSERT INTO colleagues VALUES (8,'GRANT','ENGINEER',10,'2014-03-30',32000,NULL,2);
INSERT INTO colleagues VALUES (9,'JACKSON','CEO',NULL,'2011-01-01',75000,NULL,4);
INSERT INTO colleagues VALUES (10,'FILLMORE','MANAGER',9,'2012-08-09',56000,NULL,2);
INSERT INTO colleagues VALUES (11,'ADAMS','ENGINEER',10,'2015-03-15',34000,NULL,2);
INSERT INTO colleagues VALUES (12,'WASHINGTON','ADMIN',6,'2011-04-16',18000,NULL,4);
INSERT INTO colleagues VALUES (13,'MONROE','ENGINEER',10,'2017-12-03',30000,NULL,2);
INSERT INTO colleagues VALUES (14,'ROOSEVELT','CPA',9,'2016-10-12',35000,NULL,1);
SELECT name, hired FROM colleagues ORDER BY hired ASC;
SELECT title, COUNT(*) AS count, (AVG(salary)) AS salary FROM colleagues GROUP BY title ORDER BY salary DESC;

执行结果如下:

**基本的语法和常用的SQL语法类似。**
删除数据表使用 drop:
DROP TABLE IF EXISTS 表名;
创建表 CREATE:
CREATE TABLE 表名(字段名称 类型,字段名称2 类型2);
插入数据 Insert:
INSERT INTO 表名 VALUES (值,值2);
查询数据 Select:
SELECT 字段名称 FROM 表名 ORDER BY 字段名称 ASC;
修改数据UPDATA:
UPDATE 表名 SET 字段名称="值" where 字段名=值
边栏推荐
- ML:机器学习工程化之团队十大角色背景、职责、产出物划分之详细攻略
- XSS notes (Part 2)
- Beyond lithium battery -- the concept of battery in the future
- Kept to implement redis autofailover (redisha) 17
- 在 IDEA 里看个书很过分嘛!
- 图论知识及其应用初步调研
- Memcached foundation 4
- Pointer compression for JVM
- Cookie, sessionstorage, localstorage differences
- TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
猜你喜欢

Modeling specifications: environment settings

Custom MVC (imported into jar package) + difference from three-tier architecture + reflection + interview questions

Two days of beautiful butterfly animation

Clip: learning transferable visual models from natural language monitoring

XSS attack notes (Part 1)

理想L9产品力分析:售价45.98万,采用四缸发动机,续航1315公里

Systematic analysis of social networks using Networkx: Facebook network analysis case

Bootstrapblazor + FreeSQL actual combat chart usage (2)

JSON parsing, esp32 easy access to time, temperature and weather

Due to the invalidation of the prospectus of bori technology, CICC has stopped providing guidance to it and abandoned the listing on the Hong Kong stock exchange?
随机推荐
Visual introduction to Matplotlib and plotnine
【毕业季】角色转换
30《MySQL 教程》MySQL 存储引擎概述
Keepalived 实现 Redis AutoFailover (RedisHA)17
NLP: brief introduction of transformer in NLP natural language field (pre training technology), NLP model development (elmo/gpt/bert/mt-dnn/xlnet/roberta/albert), detailed introduction to classic case
做了两天的唯美蝴蝶动画
UVM in UVM_ config_ Use of DB in sequence
在连接数据库的时候遇到了点问题,请问怎么解决呀?
Buuctf PWN write UPS (6)
Continuous delivery blue ocean application
Modeling specifications: environment settings
Parameter transfer method between two pages
Ml: a detailed introduction to the division of the top ten roles, backgrounds, responsibilities and outputs of the machine learning engineering team
memcached基础6
建模规范:环境设置
Bootstrapblazor + FreeSQL actual combat chart usage (2)
浏览器缓存
Object access mechanism and others
Find the minimum value in the rotation sort array ii[classical Abstract dichotomy + how to break the game left, middle and right are equal]
Generate flow chart with code, and how to use markdown