查看SQLITE Tips的源代码
←
SQLITE Tips
跳转到:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您刚才请求的操作只有这个用户组中的用户才能使用:
用户
您可以查看并复制此页面的源代码:
=== Create === <source lang=bash> $ sqlite3 /tmp/test.db SQLite version 3.16.2 2017-01-06 16:32:41 Enter ".help" for usage hints. sqlite> .tables t_action t_base_define t_heat_data t_request_data t_water_data t_air_data t_elect_data t_meter_info t_time_node sqlite> create index idx_id on t_meter_info(f_id); sqlite> explain query plan select * from t_meter_info where f_id=5; selectid|order|from|detail 0|0|0|SEARCH TABLE t_meter_info USING INTEGER PRIMARY KEY (rowid=?) sqlite> create index idx_type on t_meter_info(f_meter_proto_type); sqlite> explain query plan select * from t_meter_info where f_meter_proto_type='0'; selectid|order|from|detail 0|0|0|SEARCH TABLE t_meter_info USING INDEX idx_type (f_meter_proto_type=?) </source> <br>
返回到
SQLITE Tips
。
个人工具
登录
名字空间
页面
讨论
变换
查看
阅读
查看源代码
查看历史
操作
搜索
导航
首页
社区专页
新闻动态
最近更改
随机页面
帮助
工具箱
链入页面
相关更改
特殊页面