SQLite数据资源包实用SQL与特性示例

SQL 的实用性,SQLite 的轻巧灵活,这套叫“SQLiteSample”的资源包,确实挺适合平时写点本地数据逻辑的时候用着玩的。内容还挺全的,SQL 基础语法、SQLite 特性、实战脚本、还有 API 文档,基本该有的都有了。你平时写移动端、搞桌面小工具,或者搭测试环境,拿它练练手、找找灵感,还挺省事的。

SQL 的基础语法里,SELECT查询、WHERE筛选、GROUP BY分组这些都讲得挺明白,配着示例 SQL,能一边学一边跑;INSERTUPDATEDELETE那几套 DML 操作也有代码样本,刚上手的时候有用。

SQLite 的优势说白了就是小巧、好嵌、文件级存储,整个数据库打包进一个.db文件里,复制、迁移都方便,事务也稳,不怕崩数据。你写 Android/iOS,或者桌面 APP,想离线也能查点东西,它就挺合适的。

资源包里的内容还不错,像预置的示例库、SQL 操作脚本、API 调用方式,甚至连sqlite3模块和 JDBC 连接的例子都给了,能省不少查文档的时间。教程写得也比较友好,照着步骤做一遍,思路就清晰了。

实战场景方面,比如 Android 上本地存储用户数据、桌面工具存些小配置,或者自动化测试时用 SQLite 模拟数据表结构,拿来就用,响应也快,效率还挺高。

如果你刚想学 SQL,或者工作中偶尔需要 SQLite,那这个包可以先收藏一份;你要是已经熟了,当个备查资料也挺方便的。

zip
SQLiteSample.zip 预估大小:74个文件
folder
SQLiteSample 文件夹
file
SQLiteSample-Info.plist 854B
file
main.m 384B
folder
SQLiteSample.xcodeproj 文件夹
file
terry-wang.pbxuser 12KB
file
project.pbxproj 15KB
file
terry-wang.mode1v3 40KB
file
.DS_Store 6KB
file
SQLiteSample_Prefix.pch 193B
folder
Classes 文件夹
file
BaseDao.m 543B
file
Record.h 454B
folder
FMDB 文件夹
file
FMDatabase.h 3KB
file
FMResultSet.h 2KB
file
FMDatabaseAdditions.h 947B
file
FMResultSet.m 10KB
file
FMDatabaseAdditions.m 4KB
file
FMDatabase.m 18KB
file
SQLiteSampleAppDelegate.m 627B
file
Record.m 520B
file
DB.h 321B
file
BaseDao.h 357B
file
RecordDao.m 2KB
file
ViewController.h 532B
file
RecordDao.h 441B
file
DB.m 1KB
file
SQLiteSampleAppDelegate.h 325B
file
ViewController.m 2KB
folder
build 文件夹
folder
SQLiteSample.build 文件夹
folder
Debug-iphonesimulator 文件夹
folder
SQLiteSample.build 文件夹
file
SQLiteSample-project-headers.hmap 1KB
file
SQLiteSample-own-target-headers.hmap 793B
file
SQLiteSample~.dep 3KB
file
SQLiteSample.dep 6KB
file
build-state.dat 86KB
file
SQLiteSample-generated-files.hmap 121B
file
build-state~.dat 24KB
folder
Objects-normal 文件夹
folder
i386 文件夹
file
ViewController.o 49KB
file
TbNote.o 10KB
file
FMDatabase.o 56KB
file
TbNoteDao.o 14KB
file
BaseDao.o 10KB
file
TbNoteDao.o~$ 14KB
folder
TbNoteDao.o~> 文件夹
file
SQLiteSample.LinkFileList 1KB
file
FMDatabaseAdditions.o 17KB
file
DB.o 13KB
file
TbNoteDao.o~? 36B
file
NoteController.o 49KB
file
RecordDao.o 14KB
file
NoteController.o~$ 49KB
file
Record.o 10KB
file
main.o 6KB
file
FMResultSet.o 38KB
folder
NoteController.o~> 文件夹
file
SQLiteSampleAppDelegate.o 44KB
file
SQLiteSample.hmap 2KB
file
SQLiteSample-all-target-headers.hmap 793B
folder
SQLiteSample.pbxindex 文件夹
file
subclasses.pbxbtree 1KB
file
categories.pbxbtree 1KB
file
symbols0.pbxsymbols 654KB
file
files.pbxbtree 3KB
file
protocols.pbxbtree 2KB
file
imports.pbxbtree 8KB
file
decls.pbxbtree 146KB
file
cdecls.pbxbtree 145KB
file
refs.pbxbtree 112KB
file
pbxindex.header 24B
folder
strings.pbxstrings 文件夹
file
control 256KB
file
strings 312KB
folder
Debug-iphonesimulator 文件夹
folder
SQLiteSample.app.dSYM 文件夹
folder
Contents 文件夹
folder
Resources 文件夹
folder
DWARF 文件夹
file
SQLiteSample 120KB
file
Info.plist 596B
folder
SQLiteSample.app 文件夹
file
MainWindow.nib 1KB
file
SQLiteSample 82KB
file
SQLiteSampleViewController.nib 795B
file
PkgInfo 8B
file
Info.plist 578B
file
sample.db 2KB
file
.DS_Store 12KB
...
zip 文件大小:858.3KB