赞
踩
sqlite> .tables
album_art audio_playlists log
android_metadata audio_playlists_map search
audio downloads searchhelpertitle
audio_albums files thumbnails
audio_artists images video
audio_genres local_metadata videothumbnails
sqlite> select * from video;查看名为video的表
|||2260||||1920x1080|||||||||Camera|org.codeaurora.snapcam|external_primary|1616719137||||VID_20210326_083850.mp4|1616719137830|video/mp4|||268|||||
/storage/emulated/0/DCIM/Camera/VID_20210326_083850.mp4|2969306|||VID_20210326_083850|||0|0|||1050|0|1052|0|1616719137|||||||-1739773001||DCIM/Camera/
临时表不会出现在 SQLITE_MASTER 表中。临时表及其索引和触发器存放在另外一个叫 SQLITE_TEMP_MASTER 的表中。SQLITE_TEMP_MASTER 跟 SQLITE_MASTER 差不多,
但它只是对于创建那些临时表的应用可见。如果要获得所有表的列表, 不管是永久的还是临时的,可以使用类似下面的命令:
SELECT name FROM (SELECT * FROM sqlite_master UNION ALL/SELECT * FROM sqlite_temp_master) WHERE type=’table’ ORDER BY name
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。