`
jilong-liang
  • 浏览: 481336 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类

android 自带的contacts2.db数据库表结构脚本

阅读更多
/*********/
/*       */
/* a.SQL */
/*       */
/*********/

/* Disable Foreign Keys */
pragma foreign_keys = off;
/* Begin Transaction */
begin transaction;

/* Database [contacts2] */
pragma auto_vacuum=1;
pragma encoding='UTF-8';
pragma page_size=1024;

/* Drop table [main].[accounts] */
drop table if exists [main].[accounts];

/* Table structure [main].[accounts] */
CREATE TABLE [main].[accounts] (
  [account_name] TEXT, 
  [account_type] TEXT);

/* Data [main].[accounts] */
insert into [main].[accounts] values(null, null);
insert into [main].[accounts] values('Phone', 'com.android.huawei.phone');
insert into [main].[accounts] values('UIM', 'com.android.huawei.sim');


/* Drop table [main].[accounts_data] */
drop table if exists [main].[accounts_data];

/* Table structure [main].[accounts_data] */
CREATE TABLE [main].[accounts_data] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [account_name] TEXT, 
  [account_type] TEXT, 
  [account_index] INTEGER);

/* Data [main].[accounts_data] */
insert into [main].[accounts_data] values(1, 'Phone', 'com.android.huawei.phone', 1);
insert into [main].[accounts_data] values(3, 'UIM', 'com.android.huawei.sim', 2);


/* Drop table [main].[activities] */
drop table if exists [main].[activities];

/* Table structure [main].[activities] */
CREATE TABLE [main].[activities] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [package_id] INTEGER REFERENCES [package]([_id]), 
  [mimetype_id] INTEGER NOT NULL REFERENCES [mimetype]([_id]), 
  [raw_id] TEXT, 
  [in_reply_to] TEXT, 
  [author_contact_id] INTEGER REFERENCES [raw_contacts]([_id]), 
  [target_contact_id] INTEGER REFERENCES [raw_contacts]([_id]), 
  [published] INTEGER NOT NULL, 
  [thread_published] INTEGER NOT NULL, 
  [title] TEXT NOT NULL, 
  [summary] TEXT, 
  [link] TEXT, 
  [thumbnail] BLOB);

/* Data [main].[activities] */


/* Drop table [main].[agg_exceptions] */
drop table if exists [main].[agg_exceptions];

/* Table structure [main].[agg_exceptions] */
CREATE TABLE [main].[agg_exceptions] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [type] INTEGER NOT NULL, 
  [raw_contact_id1] INTEGER REFERENCES [raw_contacts]([_id]), 
  [raw_contact_id2] INTEGER REFERENCES [raw_contacts]([_id]));
CREATE UNIQUE INDEX [main].[aggregation_exception_index1] ON [agg_exceptions] ([raw_contact_id1], [raw_contact_id2]);
CREATE UNIQUE INDEX [main].[aggregation_exception_index2] ON [agg_exceptions] ([raw_contact_id2], [raw_contact_id1]);

/* Data [main].[agg_exceptions] */


/* Drop table [main].[android_metadata] */
drop table if exists [main].[android_metadata];

/* Table structure [main].[android_metadata] */
CREATE TABLE [main].[android_metadata] (
  [locale] TEXT);

/* Data [main].[android_metadata] */
insert into [main].[android_metadata] values('zh_CN');


/* Drop table [main].[calls] */
drop table if exists [main].[calls];

/* Table structure [main].[calls] */
CREATE TABLE [main].[calls] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [number] TEXT, 
  [date] INTEGER, 
  [duration] INTEGER, 
  [type] INTEGER, 
  [new] INTEGER, 
  [name] TEXT, 
  [numbertype] INTEGER, 
  [numberlabel] TEXT, 
  [cnapname] TEXT, 
  [subscription] INTEGER);

/* Data [main].[calls] */
insert into [main].[calls] values(533, '13826402017', 1325729214647, 24, 2, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(534, '18659483179', 1325729717544, 0, 3, 0, '杰峰', 2, null, null, null);
insert into [main].[calls] values(535, '18659483179', 1325729779545, 0, 3, 0, '杰峰', 2, null, null, null);
insert into [main].[calls] values(536, '18659483179', 1325729832556, 0, 3, 0, '杰峰', 2, null, null, null);
insert into [main].[calls] values(537, '18659483179', 1325730195603, 0, 3, 0, '杰峰', 2, null, null, null);
insert into [main].[calls] values(538, '18659483179', 1325730250542, 311, 1, 1, '杰峰', 2, null, null, null);
insert into [main].[calls] values(539, '18602067553', 1325730671803, 133, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(540, '18659483179', 1325730830766, 42, 2, 1, '杰峰', 2, null, null, null);
insert into [main].[calls] values(541, '02087599403', 1325731579057, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(542, '18659483179', 1325732261961, 373, 1, 1, '杰峰', 2, null, null, null);
insert into [main].[calls] values(543, '02032293353', 1325732761547, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(544, '02032293353', 1325733524088, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(545, '18902468510', 1325733675067, 94, 1, 1, '老高', 2, null, null, null);
insert into [main].[calls] values(546, '18602067553', 1325737525700, 43, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(547, '18602067553', 1325737630808, 100, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(548, '02032293357', 1325741478545, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(549, '18902468510', 1325741611543, 0, 3, 0, '老高', 2, null, null, null);
insert into [main].[calls] values(550, '02087599403', 1325742227445, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(551, '18902468510', 1325742232875, 32, 2, 1, '老高', 2, null, null, null);
insert into [main].[calls] values(552, '18602067553', 1325746915079, 115, 1, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(553, '13826402017', 1325750635591, 86, 1, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(554, '18902468510', 1325752704544, 83, 1, 1, '老高', 2, null, null, null);
insert into [main].[calls] values(555, '13433650470', 1325754032042, 0, 1, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(556, '02087599403', 1325754060156, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(557, '02087599403', 1325754127045, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(558, '13826402017', 1325754747918, 60, 2, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(561, '13826402017', 1325756930793, 59, 1, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(566, '18902468510', 1325760389044, 0, 3, 0, '老高', 2, null, null, null);
insert into [main].[calls] values(567, '18902468510', 1325761069446, 0, 3, 0, '老高', 2, null, null, null);
insert into [main].[calls] values(568, '18902468510', 1325761228636, 0, 3, 0, '老高', 2, null, null, null);
insert into [main].[calls] values(569, '18902468510', 1325761643204, 0, 3, 0, '老高', 2, null, null, null);
insert into [main].[calls] values(571, '18902468510', 1325762475990, 215, 2, 1, '老高', 2, null, null, null);
insert into [main].[calls] values(572, '07598717286', 1325766553580, 42, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(573, '07598717286', 1325766621482, 160, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(574, '13826402017', 1325816874980, 96, 1, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(575, '13509079809', 1325818058888, 95, 1, 1, '甘嘉俊', 2, null, null, null);
insert into [main].[calls] values(577, '18602067553', 1325824742422, 228, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(578, '18602067553', 1325825141989, 103, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(579, '18902468510', 1325827824585, 70, 1, 1, '老高', 2, null, null, null);
insert into [main].[calls] values(580, '18602067553', 1325829606577, 182, 1, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(581, '18602067553', 1325831874963, 346, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(582, '13826402017', 1325832520833, 268, 2, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(583, '18602067553', 1325832866559, 98, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(584, '18602067553', 1325835253443, 114, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(585, '18602067553', 1325835519210, 194, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(586, '18602067553', 1325835768572, 0, 3, 0, '胖子', 2, null, null, null);
insert into [main].[calls] values(587, '18602067553', 1325836239577, 75, 1, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(588, '13826402017', 1325836377682, 80, 1, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(589, '18602067553', 1325836523544, 180, 1, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(590, '18602067553', 1325837090653, 385, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(591, '18602067553', 1325837946729, 60, 1, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(592, '15017519610', 1325838295582, 108, 1, 1, '凯惠', 2, null, null, null);
insert into [main].[calls] values(594, '13826402017', 1325841692173, 159, 2, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(595, '13826402017', 1325841895059, 56, 2, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(596, '13826402017', 1325842972715, 16, 2, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(597, '18602067553', 1325843049249, 78, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(598, '13826402017', 1325843330570, 180, 1, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(599, '18602067553', 1325843783662, 11, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(600, '18602067553', 1325843814170, 0, 3, 0, '胖子', 2, null, null, null);
insert into [main].[calls] values(601, '18602067553', 1325843861042, 0, 3, 0, '胖子', 2, null, null, null);
insert into [main].[calls] values(602, '18602067553', 1325844189114, 159, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(603, '13826402017', 1325844492541, 67, 1, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(604, '13826402017', 1325844653995, 5, 2, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(605, '13826402017', 1325844671553, 318, 1, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(606, '18602067553', 1325845223158, 47, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(607, '18026219877', 1325845296956, 220, 2, 1, '老周', 2, null, null, null);
insert into [main].[calls] values(608, '13559714229', 1325845670541, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(609, '13826402017', 1325846321822, 0, 2, 1, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(610, '13559714229', 1325846335384, 481, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(612, '15920433688', 1325854446404, 784, 2, 1, '海林', 2, null, null, null);
insert into [main].[calls] values(613, '18026219877', 1325862490959, 40, 1, 1, '老周', 2, null, null, null);
insert into [main].[calls] values(614, '18026219877', 1325862571642, 40, 2, 1, '老周', 2, null, null, null);
insert into [main].[calls] values(615, '18026219877', 1325892489284, 0, 2, 1, '老周', 2, null, null, null);
insert into [main].[calls] values(618, '15989109890', 1325899795262, 7, 2, 1, '小宇', 2, null, null, null);
insert into [main].[calls] values(619, '18602067553', 1325901655554, 147, 1, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(620, '18602067553', 1325902299151, 236, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(621, '18602067553', 1325902781891, 237, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(622, '18602067553', 1325903396306, 186, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(623, '18602067553', 1325903777541, 103, 1, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(626, '18602067553', 1325914572542, 65, 1, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(627, '13559714229', 1325914887544, 11, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(629, '13559714229', 1325917895544, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(630, '13559714229', 1325918206804, 173, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(637, '13559714229', 1325924550656, 0, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(638, '15918617661', 1325922553782, 1997, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(640, '13559714229', 1325924800561, 51, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(642, '13559714229', 1325930247525, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(647, '13692345137', 1325936939529, 0, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(648, '13692345137', 1325936961385, 123, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(649, '15918746988', 1325937691771, 425, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(650, '13559714229', 1325941649716, 22, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(651, '18902468510', 1325942830560, 0, 3, 0, '老高', 2, null, null, null);
insert into [main].[calls] values(652, '15363683503', 1325944885641, 97, 2, 1, '刘春燕', 2, null, null, null);
insert into [main].[calls] values(653, '13559714229', 1325948113620, 47, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(654, '18902468510', 1325989995073, 171, 1, 1, '老高', 2, null, null, null);
insert into [main].[calls] values(655, '92034645', 1325991444006, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(656, '13559714229', 1325995105572, 0, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(657, '13559714229', 1325995136043, 79, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(658, '15918617661', 1325995729851, 104, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(660, '13559714229', 1326002293992, 0, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(661, '13559714229', 1326002312792, 67, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(662, '13559714229', 1326012099301, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(671, '92034645', 1326021088103, 14, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(672, '15363683503', 1326027581209, 94, 1, 1, '刘春燕', 2, null, null, null);
insert into [main].[calls] values(673, '18026219877', 1326027914155, 117, 1, 1, '老周', 2, null, null, null);
insert into [main].[calls] values(674, '10000', 1326072173946, 562, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(679, '18602067553', 1326078454051, 113, 1, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(682, '15363683503', 1326086661070, 12, 1, 1, '刘春燕', 2, null, null, null);
insert into [main].[calls] values(683, '18602067553', 1326088565906, 0, 3, 0, '胖子', 2, null, null, null);
insert into [main].[calls] values(684, '18602067553', 1326088619543, 53, 1, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(685, '18602067553', 1326088686984, 70, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(686, '13326557702', 1326089063381, 106, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(687, '18602067553', 1326089185774, 49, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(690, '13326557702', 1326091471842, 83, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(692, '13326557702', 1326091835651, 121, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(693, '18602067553', 1326091970607, 16, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(700, '18026219877', 1326102541232, 327, 2, 1, '老周', 2, null, null, null);
insert into [main].[calls] values(702, '18602067553', 1326103103776, 0, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(704, '13326557702', 1326103108234, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(705, '18602067553', 1326103113295, 125, 2, 1, '胖子', 2, null, null, null);
insert into [main].[calls] values(709, '18664831187', 1326107635056, 361, 1, 1, '罗斌', 2, null, null, null);
insert into [main].[calls] values(715, '18902468510', 1326156096607, 17, 2, 1, '老高', 2, null, null, null);
insert into [main].[calls] values(716, '18026219877', 1326159359605, 0, 3, 0, '老周', 2, null, null, null);
insert into [main].[calls] values(717, '18026219877', 1326160749911, 35, 1, 1, '老周', 2, null, null, null);
insert into [main].[calls] values(718, '18026219877', 1326161057016, 25, 1, 1, '老周', 2, null, null, null);
insert into [main].[calls] values(719, '13902265173', 1326165104072, 42, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(720, '13902265173', 1326166250962, 112, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(721, '10000', 1326168014569, 141, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(722, '*74', 1326177233912, 2, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(723, '02032293208', 1326185638564, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(724, '02032293208', 1326185702002, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(725, '02032293208', 1326185906588, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(726, '18902468510', 1326199470108, 0, 3, 0, '老高', 2, null, null, null);
insert into [main].[calls] values(727, '18902468510', 1326199614143, 0, 3, 0, '老高', 2, null, null, null);
insert into [main].[calls] values(728, '18902468510', 1326256104284, 0, 2, 1, '老高', 2, null, null, null);
insert into [main].[calls] values(736, '02085562778', 1326333606563, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(737, '02085562778', 1326333701531, 64, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(740, '13826402017', 1326334558867, 0, 3, 0, '左丹奴', 2, null, null, null);
insert into [main].[calls] values(741, '15999966982', 1326351490456, 74, 2, 1, '超', 2, null, null, null);
insert into [main].[calls] values(742, '13751728138', 1326351601193, 8, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(743, '13751822279', 1326351624853, 98, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(744, '13692345137', 1326351765239, 136, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(745, '07598717286', 1326351929779, 98, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(746, '18026219877', 1326370666817, 45, 2, 1, '老周', 2, null, null, null);
insert into [main].[calls] values(749, '15976834754', 1326375122647, 75, 2, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(750, '18979778529', 1326376345696, 28, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(751, '18979778529', 1326377727542, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(752, '18979778529', 1326377743210, 807, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(753, '13978672385', 1326407183599, 79, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(754, '13978672385', 1326407829144, 25, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(755, '13978672385', 1326409461169, 30, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(756, '13978672385', 1326409532929, 106, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(757, '02085562778', 1326417819573, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(758, '02085562778', 1326417878542, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(760, '13902265173', 1326418052546, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(762, '15976834754', 1326420431545, 0, 3, 0, '三姐', 2, null, null, null);
insert into [main].[calls] values(765, '18979778529', 1326421443068, 45, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(766, '13902265173', 1326422102549, 50, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(767, '15976834754', 1326422497032, 0, 3, 0, '三姐', 2, null, null, null);
insert into [main].[calls] values(768, '18979778529', 1326422633577, 0, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(769, '15976834754', 1326422641203, 29, 2, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(771, '18979778529', 1326425629630, 94, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(775, '02032293208', 1326444244557, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(776, '18979778529', 1326452360576, 692, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(777, '18979778529', 1326453199870, 455, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(778, '15818142784', 1326454258860, 99, 1, 1, '运全', 2, null, null, null);
insert into [main].[calls] values(780, '18979778529', 1326459282957, 584, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(781, '18979778529', 1326460359510, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(782, '18979778529', 1326460375977, 0, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(783, '18979778529', 1326460384637, 415, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(784, '18979778529', 1326460880738, 1169, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(785, '18979778529', 1326465523053, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(786, '18979778529', 1326465550535, 2476, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(787, '18979778529', 1326471584579, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(788, '18979778529', 1326471613183, 4, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(789, '18979778529', 1326471625901, 230, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(790, '18979778529', 1326507322638, 19, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(792, '18979778529', 1326507496563, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(793, '18979778529', 1326507509137, 4, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(794, '13531006041', 1326508134545, 0, 1, 1, 'J', 2, null, null, null);
insert into [main].[calls] values(795, '18979778529', 1326507529792, 788, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(802, '15976834754', 1326510417960, 0, 1, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(803, '15976834754', 1326510431809, 166, 2, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(804, '15040623721', 1326512524149, 7, 2, 1, '汝健', 2, null, null, null);
insert into [main].[calls] values(805, '15040623721', 1326512538125, 0, 2, 1, '汝健', 2, null, null, null);
insert into [main].[calls] values(806, '18979778529', 1326512564968, 7, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(807, '18979778529', 1326512599135, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(808, '18979778529', 1326512608961, 161, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(809, '15040623721', 1326513149605, 6, 2, 1, '汝健', 2, null, null, null);
insert into [main].[calls] values(810, '13531006041', 1326516242062, 0, 1, 1, 'J', 2, null, null, null);
insert into [main].[calls] values(811, '13531006041', 1326516266530, 53, 2, 1, 'J', 2, null, null, null);
insert into [main].[calls] values(812, '13531006041', 1326516334196, 0, 2, 1, 'J', 2, null, null, null);
insert into [main].[calls] values(814, '18979778529', 1326516659279, 14, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(815, '13531006041', 1326516698788, 115, 2, 1, 'J', 2, null, null, null);
insert into [main].[calls] values(816, '15976834754', 1326529978718, 26, 2, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(817, '15976834754', 1326530129311, 149, 2, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(818, '13878887539', 1326535315799, 57, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(819, '13724757682', 1326535408384, 26, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(820, '13724757682', 1326535443884, 5, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(821, '13078270955', 1326535507547, 186, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(822, '18979778529', 1326538804964, 28, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(823, '18979778529', 1326538864621, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(824, '18979778529', 1326540027571, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(825, '13878887539', 1326539719570, 757, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(826, '18979778529', 1326540809552, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(827, '18979778529', 1326540826011, 12, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(828, '18979778529', 1326540845543, 331, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(830, '18979778529', 1326549560245, 8, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(831, '15976834754', 1326549574659, 39, 2, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(832, '18979778529', 1326553628065, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(833, '18979778529', 1326553748049, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(834, '18979778529', 1326553798952, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(835, '18979778529', 1326554140062, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(836, '18979778529', 1326554160137, 331, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(838, '13078270955', 1326596436587, 159, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(840, '13531006041', 1326609318568, 0, 3, 0, 'J', 2, null, null, null);
insert into [main].[calls] values(842, '18679712739', 1326638430592, 0, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(843, '18679712739', 1326638460125, 5, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(844, '18679712739', 1326638551891, 31, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(845, '18679712739', 1326638614554, 259, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(846, '13542043355', 1326639247705, 2009, 2, 1, '华丽', 2, null, null, null);
insert into [main].[calls] values(848, '18979778529', 1326642682916, 9, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(849, '18979778529', 1326642706139, 144, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(850, '18979778529', 1326642866598, 5, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(851, '18979778529', 1326642887144, 0, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(852, '18979778529', 1326642901007, 1684, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(853, '18979778529', 1326679192476, 200, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(854, '15989109890', 1326679724720, 111, 2, 1, '小宇', 2, null, null, null);
insert into [main].[calls] values(855, '15989109890', 1326680383636, 38, 1, 1, '小宇', 2, null, null, null);
insert into [main].[calls] values(856, '15989109890', 1326680455545, 100, 1, 1, '小宇', 2, null, null, null);
insert into [main].[calls] values(857, '18979778529', 1326680566664, 981, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(859, '18979778529', 1326682377034, 150, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(860, '02032293208', 1326684661539, 2, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(861, '02032293208', 1326684695279, 12, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(862, '02032293208', 1326684718180, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(863, '18602067553', 1326684825543, 0, 3, 0, '胖子', 2, null, null, null);
insert into [main].[calls] values(864, '13760712189', 1326691459289, 59, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(865, '18979778529', 1326692362297, 82, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(866, '18979778529', 1326696088437, 52, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(867, '13878887539', 1326696671541, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(868, '18979778529', 1326696978079, 274, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(872, '18979778529', 1326727804462, 20, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(873, '18979778529', 1326728480715, 1221, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(876, '18979778529', 1326797800545, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(877, '18979778529', 1326797826860, 190, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(878, '18979778529', 1326798364554, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(879, '18979778529', 1326798373118, 659, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(880, '18979778529', 1326806788670, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(882, '18979778529', 1326851008196, 462, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(883, '18979778529', 1326864604575, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(884, '18979778529', 1326865080115, 156, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(885, '15640882825', 1326872325561, 184, 1, 1, 'Rl汝健', 2, null, null, null);
insert into [main].[calls] values(886, '15017519610', 1326872541768, 106, 2, 1, '凯惠', 2, null, null, null);
insert into [main].[calls] values(887, '15640882825', 1326872676374, 1010, 2, 1, 'Rl汝健', 2, null, null, null);
insert into [main].[calls] values(888, '18666353648', 1326873898624, 5, 2, 1, '干爆', 2, null, null, null);
insert into [main].[calls] values(889, '18708687060', 1326874362891, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(890, '02085562778', 1326875686197, 243, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(891, '18979778529', 1326878166616, 228, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(893, '13590032749', 1326878873824, 1820, 2, 1, '余生', 2, null, null, null);
insert into [main].[calls] values(894, '18979778529', 1326885439527, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(897, '13631361221', 1326892418846, 20, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(898, '13631361221', 1326892454633, 110, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(902, '18979778529', 1326903067552, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(903, '18979778529', 1326903134872, 485, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(904, '18602067553', 1326934228601, 0, 3, 0, '胖子', 2, null, null, null);
insert into [main].[calls] values(905, '13433650470', 1326934445543, 0, 3, 0, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(906, '13878887539', 1326938339040, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(907, '18979778529', 1326948656480, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(908, '18979778529', 1326948673726, 0, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(909, '18979778529', 1326948681992, 362, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(910, '18979778529', 1326959513628, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(911, '18979778529', 1326968529545, 95, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(912, '18979778529', 1326977410555, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(913, '18979778529', 1326977442983, 1448, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(914, '10000', 1327027230290, 434, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(916, '15017519610', 1327034633442, 29, 1, 1, '凯惠', 2, null, null, null);
insert into [main].[calls] values(917, '18666353648', 1327034743712, 4, 2, 1, '干爆', 2, null, null, null);
insert into [main].[calls] values(918, '15017519610', 1327038313060, 29, 1, 1, '凯惠', 2, null, null, null);
insert into [main].[calls] values(920, '13878887539', 1327058329630, 773, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(924, '18666538054', 1327206725024, 34, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(927, '18927229173', 1327244600603, 220, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(929, '18979778529', 1327251962915, 899, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(930, '18979778529', 1327281895111, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(931, '18979778529', 1327281937708, 327, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(932, '15920494210', 1327284378061, 0, 1, 1, '剑宁', 2, null, null, null);
insert into [main].[calls] values(933, '18979778529', 1327287847085, 791, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(934, '15207592029', 1327289351145, 0, 1, 1, '其孔', 2, null, null, null);
insert into [main].[calls] values(935, '18979778529', 1327301135567, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(936, '18979778529', 1327304560577, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(937, '15012832001', 1327305756541, 0, 1, 1, '柄良', 2, null, null, null);
insert into [main].[calls] values(938, '15017519610', 1327307706567, 73, 1, 1, '凯惠', 2, null, null, null);
insert into [main].[calls] values(939, '18979778529', 1327314524545, 160, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(940, '18979778529', 1327322971569, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(941, '18979778529', 1327324914541, 937, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(942, '15976834754', 1327327234577, 65, 1, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(943, '13428879524', 1327331814878, 0, 2, 1, '晓欣', 2, null, null, null);
insert into [main].[calls] values(944, '18979778529', 1327331916136, 166, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(945, '18979778529', 1327333321972, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(946, '02061178463', 1327376203954, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(947, '07598717286', 1327376616542, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(948, '13531006041', 1327376715691, 0, 2, 1, 'J', 2, null, null, null);
insert into [main].[calls] values(949, '15012832001', 1327388395668, 34, 1, 1, '柄良', 2, null, null, null);
insert into [main].[calls] values(951, '07598820371', 1327398376668, 46, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(953, '10000', 1327404475914, 318, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(954, '13450895062', 1327404812657, 7, 2, 1, '明聪', 2, null, null, null);
insert into [main].[calls] values(955, '13450895062', 1327404828009, 3, 2, 1, '明聪', 2, null, null, null);
insert into [main].[calls] values(956, '13450895062', 1327404840182, 130, 1, 1, '明聪', 2, null, null, null);
insert into [main].[calls] values(957, '13433650470', 1327406560044, 5, 2, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(958, '10000', 1327406577909, 49, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(960, '13428879524', 1327416430042, 1, 2, 1, '晓欣', 2, null, null, null);
insert into [main].[calls] values(961, '13428879524', 1327416438840, 4, 2, 1, '晓欣', 2, null, null, null);
insert into [main].[calls] values(962, '10000', 1327416451866, 52, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(963, '10000', 1327416510521, 55, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(964, '10000', 1327416571707, 302, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(965, '18218753290', 1327418270588, 168, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(968, '13878887539', 1327459189587, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(970, '13828221565', 1327475389024, 0, 1, 1, '陈特', 2, null, null, null);
insert into [main].[calls] values(972, '10000', 1327478589978, 293, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(974, '18664831187', 1327489157563, 310, 1, 1, '罗斌', 2, null, null, null);
insert into [main].[calls] values(975, '15017519610', 1327498462238, 14, 1, 1, '凯惠', 2, null, null, null);
insert into [main].[calls] values(979, '13692345137', 1327536696005, 40, 1, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(981, '10000', 1327545261547, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(984, '13433650470', 1327545495919, 6, 2, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(985, '15640882825', 1327546465542, 59, 1, 1, 'Rl汝健', 2, null, null, null);
insert into [main].[calls] values(986, '15876381404', 1327549747551, 221, 1, 1, '忠池3', 2, null, null, null);
insert into [main].[calls] values(987, '911', 1327550335381, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(988, '15017519610', 1327550509527, 29, 1, 1, '凯惠', 2, null, null, null);
insert into [main].[calls] values(989, '15640882825', 1327551413313, 49, 2, 1, 'Rl汝健', 2, null, null, null);
insert into [main].[calls] values(991, '18979778529', 1327552743398, 184, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(993, '18979778529', 1327553085540, 612, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(995, '15017519610', 1327554160782, 40, 2, 1, '凯惠', 2, null, null, null);
insert into [main].[calls] values(996, '15876381404', 1327558810688, 9, 2, 1, '忠池3', 2, null, null, null);
insert into [main].[calls] values(997, '13692345137', 1327558835906, 10, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(998, '15640882825', 1327558887545, 140, 2, 1, 'Rl汝健', 2, null, null, null);
insert into [main].[calls] values(999, '13692345137', 1327559063720, 78, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1000, '15640882825', 1327559190215, 49, 2, 1, 'Rl汝健', 2, null, null, null);
insert into [main].[calls] values(1001, '13692345137', 1327559438150, 83, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1005, '15976834754', 1327560816079, 119, 1, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(1006, '13798555766', 1327561625565, 35, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(1007, '18666353648', 1327562116562, 48, 1, 1, '干爆', 2, null, null, null);
insert into [main].[calls] values(1008, '13692345137', 1327563444818, 48, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1009, '13692345137', 1327564580272, 70, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1010, '15876381404', 1327564656747, 6, 2, 1, '忠池3', 2, null, null, null);
insert into [main].[calls] values(1011, '13692345137', 1327564667632, 30, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1012, '137517281381363136122113751722279', 1327568767375, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1013, '13751728138', 1327568851374, 89, 2, 1, '13751728138', 2, null, null, null);
insert into [main].[calls] values(1014, '13692345137', 1327569029262, 30, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1015, '13692345137', 1327569077680, 1, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1016, '13978672385', 1327573245566, 56, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(1017, '13692345137', 1327579311615, 70, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1018, '13542043355', 1327582817198, 231, 2, 1, '华丽', 2, null, null, null);
insert into [main].[calls] values(1020, '13428879524', 1327583184810, 946, 2, 1, '晓欣', 2, null, null, null);
insert into [main].[calls] values(1021, '13692345137', 1327585696290, 52, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1022, '13433650470', 1327588402400, 7, 2, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1023, '13692345137', 1327590813631, 52, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1024, '07598853511', 1327592059485, 5, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1025, '07598853511', 1327592071052, 4, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1026, '13692345137', 1327592168547, 0, 3, 0, '忠池', 2, null, null, null);
insert into [main].[calls] values(1027, '13692345137', 1327592222568, 11, 1, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1028, '07598853511', 1327592365574, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(1029, '13798767408', 1327594163545, 0, 3, 0, '邝露', 2, null, null, null);
insert into [main].[calls] values(1030, '07598717286', 1327620151915, 25, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1031, '1065911468', 1327642355037, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1032, '18666538054', 1327642362410, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1033, '07598853511', 1327645804303, 6, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1034, '18666538054', 1327645833427, 41, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1035, '07598717286', 1327645917234, 51, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1036, '13798767408', 1327648444278, 0, 1, 1, '邝露', 2, null, null, null);
insert into [main].[calls] values(1037, '13798767408', 1327649992206, 0, 1, 1, '邝露', 2, null, null, null);
insert into [main].[calls] values(1038, '18602067553', 1327652206215, 0, 3, 0, '胖子', 2, null, null, null);
insert into [main].[calls] values(1039, '18602067553', 1327652629264, 0, 3, 0, '胖子', 2, null, null, null);
insert into [main].[calls] values(1043, '18666538054', 1327655488897, 20, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1044, '13798767408', 1327832944102, 0, 3, 0, '邝露', 2, null, null, null);
insert into [main].[calls] values(1045, '15363683503', 1327849428693, 0, 2, 1, '刘春燕', 2, null, null, null);
insert into [main].[calls] values(1047, '15989109890', 1327849456787, 0, 2, 1, '小宇', 2, null, null, null);
insert into [main].[calls] values(1048, '13433650470', 1327974069283, 0, 2, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1049, '13512769352', 1327974869967, 0, 2, 1, '东莞包', 2, null, null, null);
insert into [main].[calls] values(1050, '02087599403', 1327992563039, 6, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(1051, '02087599403', 1327992596081, 183, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(1052, '13590032749', 1327992795720, 0, 2, 1, '余生', 2, null, null, null);
insert into [main].[calls] values(1053, '18664831187', 1327992906768, 0, 2, 1, '罗斌', 2, null, null, null);
insert into [main].[calls] values(1054, '18664831187', 1327992915089, 1161, 2, 1, '罗斌', 2, null, null, null);
insert into [main].[calls] values(1055, '07598717286', 1328011561047, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1056, '07598717286', 1328011583480, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1057, '07598717286', 1328011605310, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1058, '07598717286', 1328011629897, 25, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1066, '07598717286', 1328063004104, 5, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1067, '07598717286', 1328063021276, 11, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1068, '07598717286', 1328063067077, 3, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1069, '07598717286', 1328063707552, 69, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1070, '07598717286', 1328063797914, 20, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1071, '13531006041', 1328063838467, 5, 2, 1, 'J', 2, null, null, null);
insert into [main].[calls] values(1072, '07598717286', 1328098057470, 171, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1073, '18666353648', 1328098254088, 6, 2, 1, '干爆', 2, null, null, null);
insert into [main].[calls] values(1074, '13590032749', 1328098326691, 0, 2, 1, '余生', 2, null, null, null);
insert into [main].[calls] values(1075, '13553596794', 1328098406218, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1076, '13798767408', 1328105141214, 0, 3, 0, '邝露', 2, null, null, null);
insert into [main].[calls] values(1077, '18979778529', 1328113470199, 264, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1078, '18979778529', 1328113753984, 0, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1079, '18979778529', 1328113770616, 0, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1080, '18979778529', 1328113775579, 0, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1081, '18979778529', 1328113779414, 2806, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1082, '13590032749', 1328149926551, 0, 3, 0, '余生', 2, null, null, null);
insert into [main].[calls] values(1083, '15999966982', 1328248479770, 34, 2, 1, '超', 2, null, null, null);
insert into [main].[calls] values(1084, '13433650470', 1328248812529, 0, 3, 0, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1085, '13590032749', 1328248951459, 0, 2, 1, '余生', 2, null, null, null);
insert into [main].[calls] values(1086, '13692345137', 1328249067838, 0, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1087, '13692345137', 1328249172205, 3, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1088, '13433650470', 1328251900750, 6, 2, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1089, '13433650470', 1328253328904, 13, 2, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1090, '13433650470', 1328253392674, 0, 2, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1091, '13590032749', 1328256004651, 0, 2, 1, '余生', 2, null, null, null);
insert into [main].[calls] values(1092, '15018419378', 1328265140432, 8, 2, 1, '胡秋虹', 2, null, null, null);
insert into [main].[calls] values(1093, '15018419378', 1328265161279, 8, 2, 1, '胡秋虹', 2, null, null, null);
insert into [main].[calls] values(1094, '15018419378', 1328265249318, 0, 1, 1, '胡秋虹', 2, null, null, null);
insert into [main].[calls] values(1095, '15018419378', 1328265257333, 64, 2, 1, '胡秋虹', 2, null, null, null);
insert into [main].[calls] values(1096, '13692345137', 1328265599908, 89, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1097, '07598717286', 1328266856581, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(1098, '13570188471', 1328266942550, 5, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1099, '13570188471', 1328266955868, 4, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1100, '13570188471', 1328266994013, 40, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1101, '13590032749', 1328267241778, 257, 2, 1, '余生', 2, null, null, null);
insert into [main].[calls] values(1102, '07598717286', 1328269876575, 0, 1, 1, '', 0, null, null, null);
insert into [main].[calls] values(1103, '07598717286', 1328269897259, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1104, '07598717286', 1328269919700, 90, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1105, '13674024140', 1328271114523, 667, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(1106, '07598717286', 1328271794728, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1107, '13674024140', 1328271801120, 73, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1108, '13674024140', 1328271891659, 1581, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1109, '13751728138', 1328274811883, 22, 2, 1, '13751728138', 2, null, null, null);
insert into [main].[calls] values(1110, '13710893382', 1328330930878, 31, 2, 1, '房东', 2, null, null, null);
insert into [main].[calls] values(1111, '07598717286', 1328331011397, 150, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1112, '13570188471', 1328344633268, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1113, '13570188471', 1328344656053, 86, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1114, '13692345137', 1328344846530, 0, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1115, '13692345137', 1328344851408, 5, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1116, '18979778529', 1328351021522, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1117, '18979778529', 1328351037287, 101, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1118, '13692345137', 1328352274219, 27, 2, 1, '忠池', 2, null, null, null);
insert into [main].[calls] values(1119, '18979778529', 1328352491032, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1120, '18979778529', 1328352503904, 84, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1121, '15876381404', 1328356360843, 0, 2, 1, '忠池3', 2, null, null, null);
insert into [main].[calls] values(1122, '15876381404', 1328357713595, 0, 1, 1, '忠池3', 2, null, null, null);
insert into [main].[calls] values(1123, '15876381404', 1328357732125, 134, 2, 1, '忠池3', 2, null, null, null);
insert into [main].[calls] values(1124, '18979778529', 1328365241067, 197, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1125, '15876381404', 1328365786868, 96, 2, 1, '忠池3', 2, null, null, null);
insert into [main].[calls] values(1126, '13729020184', 1328367349729, 31, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1127, '13570188471', 1328367413451, 4, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1128, '13570188471', 1328367438565, 66, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1129, '13828298694', 1328367548903, 0, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1130, '13828298694', 1328367555635, 57, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1131, '18979778529', 1328368040631, 201, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1132, '15876381404', 1328421836167, 0, 2, 1, '忠池3', 2, null, null, null);
insert into [main].[calls] values(1133, '07598717286', 1328421847503, 104, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1134, '13559714229', 1328422000667, 88, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1135, '15876381404', 1328422098029, 322, 2, 1, '忠池3', 2, null, null, null);
insert into [main].[calls] values(1136, '13559714229', 1328424248568, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(1137, '18979778529', 1328425269096, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1138, '13559714229', 1328425508406, 123, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1139, '15876381404', 1328425658527, 20, 2, 1, '忠池3', 2, null, null, null);
insert into [main].[calls] values(1140, '18979778529', 1328425722474, 97, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1141, '13978672385', 1328425868546, 0, 3, 0, null, 0, null, null, null);
insert into [main].[calls] values(1142, '13978672385', 1328425881545, 27, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1143, '13978672385', 1328425948204, 36, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(1144, '10000', 1328427531857, 141, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1145, '13559714229', 1328431092099, 0, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(1146, '13559714229', 1328431101311, 71, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1147, '13798767408', 1328432570604, 0, 3, 0, '邝露', 2, null, null, null);
insert into [main].[calls] values(1148, '18979778529', 1328432617115, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1149, '18979778529', 1328432675192, 14, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1150, '15018419378', 1328490263053, 0, 1, 1, '胡秋虹', 2, null, null, null);
insert into [main].[calls] values(1151, '15018419378', 1328490276724, 22, 2, 1, '胡秋虹', 2, null, null, null);
insert into [main].[calls] values(1152, '18979778529', 1328491890697, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1153, '18979778529', 1328491906497, 488, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1154, '07598717286', 1328492623673, 17, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1155, '07598717286', 1328492650512, 2, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1156, '07598717286', 1328492689785, 73, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1157, '13433650470', 1328494128189, 0, 1, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1158, '13433650470', 1328494551336, 0, 1, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1159, '13433650470', 1328494732104, 0, 3, 0, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1160, '18979778529', 1328497018555, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1161, '18979778529', 1328497137834, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1162, '13590032749', 1328496844603, 1061, 1, 1, '余生', 2, null, null, null);
insert into [main].[calls] values(1163, '18979778529', 1328502209723, 137, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1164, '13559714229', 1328512007215, 0, 1, 1, null, 0, null, null, null);
insert into [main].[calls] values(1165, '13559714229', 1328512021967, 182, 2, 1, null, 0, null, null, null);
insert into [main].[calls] values(1166, '18979778529', 1328517076637, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1167, '18979778529', 1328517086883, 1013, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1168, '18979778529', 1328519951548, 0, 1, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1169, '18979778529', 1328520046799, 263, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1170, '18979778529', 1328523668618, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1171, '18979778529', 1328525818543, 0, 3, 0, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1172, '18979778529', 1328526443085, 75, 2, 1, '邝露家', 2, null, null, null);
insert into [main].[calls] values(1173, '15976834754', 1328527257439, 0, 1, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(1174, '15976834754', 1328527273358, 6, 2, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(1175, '15976834754', 1328527285755, 299, 2, 1, '三姐', 2, null, null, null);
insert into [main].[calls] values(1176, '13433650470', 1328527836216, 0, 1, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1177, '13433650470', 1328527915524, 0, 3, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1178, '13433650470', 1328528000123, 0, 1, 1, '东莞卡', 2, null, null, null);
insert into [main].[calls] values(1179, '13433650470', 1328528811315, 0, 1, 1, '东莞卡', 2, null, null, null);


/* Drop table [main].[contacts] */
drop table if exists [main].[contacts];

/* Table structure [main].[contacts] */
CREATE TABLE [main].[contacts] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [name_raw_contact_id] INTEGER REFERENCES [raw_contacts]([_id]), 
  [photo_id] INTEGER REFERENCES [data]([_id]), 
  [custom_ringtone] TEXT, 
  [send_to_voicemail] INTEGER NOT NULL DEFAULT 0, 
  [times_contacted] INTEGER NOT NULL DEFAULT 0, 
  [last_time_contacted] INTEGER, 
  [starred] INTEGER NOT NULL DEFAULT 0, 
  [in_visible_group] INTEGER NOT NULL DEFAULT 1, 
  [has_phone_number] INTEGER NOT NULL DEFAULT 0, 
  [lookup] TEXT, 
  [status_update_id] INTEGER REFERENCES [data]([_id]), 
  [single_is_restricted] INTEGER NOT NULL DEFAULT 0, 
  [secondary_display_name] TEXT, 
  [secondary_display_name_source] TEXT, 
  [accounts] LARGEINT NOT NULL DEFAULT 0, 
  [tmo_tariff_icon_id] INTEGER DEFAULT 0, 
  [kaixin_icon_id] INTEGER DEFAULT 0);
CREATE INDEX [main].[contacts_has_phone_index] ON [contacts] ([has_phone_number]);
CREATE INDEX [main].[contacts_name_raw_contact_id_index] ON [contacts] ([name_raw_contact_id]);
CREATE INDEX [main].[contacts_restricted_index] ON [contacts] ([single_is_restricted]);
CREATE INDEX [main].[contacts_visible_index] ON [contacts] ([in_visible_group]);

/* Data [main].[contacts] */
insert into [main].[contacts] values(4453, 4453, null, null, 0, 0, 0, 0, 1, 1, '1669r4453-DF1454DF19E1DF0DA0', null, 0, '18979778529', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4454, 4455, null, null, 0, 0, 0, 0, 1, 1, '1669r4455-DF28A1', null, 0, '15298955253', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4455, 4454, null, null, 0, 0, 0, 0, 1, 1, '1669r4454-DF354BDF05B2', null, 0, '15289981910', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4456, 4461, null, null, 0, 0, 0, 0, 1, 1, '1669r4461-DF1454DF19E1', null, 0, '13798767408', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4457, 4460, null, null, 0, 0, 0, 0, 1, 1, '1669r4460-D560DF32C8DF0DEE', null, 0, '13611472538', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4458, 4462, null, null, 0, 0, 0, 0, 1, 1, '1669r4462-DF0513DF0DB0DF12B5', null, 0, '13509079809', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4459, 4457, null, null, 0, 0, 0, 0, 1, 1, '1669r4457-DF2C73DF466B', null, 0, '13659748056', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4460, 4456, null, null, 0, 0, 0, 0, 1, 1, '1669r4456-DF12E1DF0BBA', null, 0, '15017519610', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4461, 4459, null, null, 0, 1, 1328528815107, 0, 1, 1, '1669r4459-DB67DF31A1DF12D4', null, 0, '13433650470', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4462, 4458, null, null, 0, 0, 0, 0, 1, 1, '1669r4458-DF2825DF0E8A', null, 0, '15040623721', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4463, 4468, null, null, 0, 0, 0, 0, 1, 1, '1669r4468-DF3EC1DF2A66', null, 0, '13590032749', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4464, 4469, null, null, 0, 0, 0, 0, 1, 1, '1669r4469-DF1029DF1971', null, 0, '18664648613', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4465, 4470, null, null, 0, 0, 0, 0, 1, 1, '1669r4470-DF0512D0DC', null, 0, '18666353648', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4466, 4471, null, null, 0, 0, 0, 0, 1, 1, '1669r4471-D517', null, 0, '15999966982', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4467, 4464, null, null, 0, 0, 0, 0, 1, 1, '1669r4464-DF366CDF3F25', null, 0, '15989109890', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4468, 4465, null, null, 0, 0, 0, 0, 1, 1, '1669r4465-DF40B9DF26BC', null, 0, '15818142784', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4469, 4466, null, null, 0, 0, 0, 0, 1, 1, '1669r4466-DF083ADF1871', null, 0, '15920433688', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4470, 4467, null, null, 0, 0, 0, 0, 1, 1, '1669r4467-DF191ED77ADF3A22', null, 0, '15363683503', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4471, 4463, null, null, 0, 0, 0, 0, 1, 1, '1669r4463-DF1605DF0576', null, 0, '18902468510', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4472, 4472, null, null, 0, 0, 0, 0, 1, 1, '1669r4472-DF191ECFE0', null, 0, '13570517578', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4473, 4482, null, null, 0, 0, 0, 0, 1, 1, '1669r4482-DF44AB', null, 0, '13662691800', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4474, 4476, null, null, 0, 0, 0, 0, 1, 1, '1669r4476-DF44DADF0FBEDEA7', null, 0, '13560097327', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4475, 4477, null, null, 0, 0, 0, 0, 1, 1, '1669r4477-DF1B0FD280', null, 0, '18664831187', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4476, 4480, null, null, 0, 0, 0, 0, 1, 1, '1669r4480-DDECDB67', null, 0, '13710893382', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4477, 4478, null, null, 0, 0, 0, 0, 1, 1, '1669r4478-DF1454DF19E1DF0629DF2999', null, 0, '6222300051878992', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4478, 4481, null, null, 0, 0, 0, 0, 1, 1, '1669r4481-DF20FADF46A8', null, 0, '18602067553', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4479, 4479, null, null, 0, 0, 0, 0, 1, 1, '1669r4479-DB67DF31A1D0A1', null, 0, '13512769352', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4480, 4473, null, null, 0, 0, 0, 0, 1, 1, '1669r4473-DF44A0D616', null, 0, '13692345137', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4481, 4474, null, null, 0, 0, 0, 0, 1, 1, '1669r4474-DF0A80DF16F6', null, 0, '13542043355', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4482, 4475, null, null, 0, 0, 0, 0, 1, 1, '1669r4475-DF3894DF3EC1', null, 0, '13768888483', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4483, 4490, null, null, 0, 0, 0, 0, 1, 1, '1669r4490-3F', null, 0, '13531006041', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4484, 4491, null, null, 0, 0, 0, 0, 1, 1, '1669r4491-D127DF04B8', null, 0, '13556028962', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4485, 4488, null, null, 0, 0, 0, 0, 1, 1, '1669r4488-DF1605DF44DA', null, 0, '18026219877', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4486, 4489, null, null, 0, 0, 0, 0, 1, 1, '1669r4489-DF0FBEDEA7', null, 0, '18659483179', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4487, 4492, null, null, 0, 0, 0, 0, 1, 1, '1669r4492-4F43DF2825DF0E8A', null, 0, '15640882825', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4488, 4483, null, null, 0, 0, 0, 0, 1, 1, '1669r4483-DF28A1DF0FF7', null, 0, '15976834754', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4489, 4486, null, null, 0, 0, 0, 0, 1, 1, '1669r4486-DF0A19DF25F0DF09A4', null, 0, '15018419378', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4490, 4487, null, null, 0, 0, 0, 0, 1, 1, '1669r4487-DF478FD934DF2035', null, 0, '13826402017', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4491, 4484, null, null, 0, 0, 0, 0, 1, 1, '1669r4484-DF3BE4D8F8', null, 0, '13660743401', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4492, 4485, null, null, 0, 0, 0, 0, 1, 1, '1669r4485-DF3D24DF04B8', null, 0, '13570504078', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4493, 4494, null, null, 0, 0, 0, 0, 1, 1, '1669r4494-DF2342DF13C8', null, 0, '15207592029', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4494, 4495, null, null, 0, 0, 0, 0, 1, 1, '1669r4495-D2B7DF17DF', null, 0, '15012832001', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4495, 4493, null, null, 0, 0, 0, 0, 1, 1, '1669r4493-DF0E84DF1FDE', null, 0, '15920494210', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4496, 4499, null, null, 0, 0, 0, 0, 1, 1, '1669r4499-2A902A942A9C2A982A902A9C2A922A9E2A902A942A9E', null, 0, '13751728138', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4497, 4498, null, null, 0, 0, 0, 0, 1, 1, '1669r4498-DF44A0D6162A94', null, 0, '15876381404', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4498, 4497, null, null, 0, 0, 0, 0, 1, 1, '1669r4497-D560DF2EEA', null, 0, '13828221565', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4499, 4496, null, null, 0, 0, 0, 0, 1, 1, '1669r4496-DF1DC5D817', null, 0, '13450895062', '97;2', 16, 0, 0);
insert into [main].[contacts] values(4500, 4500, null, null, 0, 0, 0, 0, 1, 1, '1669r4500-DF366DDF3715', null, 0, '13428879524', '97;2', 16, 0, 0);


/* Drop table [main].[content_manager] */
drop table if exists [main].[content_manager];

/* Table structure [main].[content_manager] */
CREATE TABLE [main].[content_manager] (
  [content_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [content_type] INTEGER, 
  [content_dataformat] TEXT, 
  [content_data] BLOB, 
  [account_type] TEXT, 
  [memory_referenced] BOOLEAN, 
  [content_url] TEXT, 
  [ref_count] INTEGER, 
  [timestamp] LARGEINT);

/* Data [main].[content_manager] */


/* Drop table [main].[data] */
drop table if exists [main].[data];

/* Table structure [main].[data] */
CREATE TABLE [main].[data] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [package_id] INTEGER REFERENCES [package]([_id]), 
  [mimetype_id] INTEGER NOT NULL REFERENCES [mimetype]([_id]), 
  [raw_contact_id] INTEGER NOT NULL REFERENCES [raw_contacts]([_id]), 
  [is_primary] INTEGER NOT NULL DEFAULT 0, 
  [is_super_primary] INTEGER NOT NULL DEFAULT 0, 
  [data_version] INTEGER NOT NULL DEFAULT 0, 
  [data1] TEXT, 
  [data2] TEXT, 
  [data3] TEXT, 
  [data4] TEXT, 
  [data5] TEXT, 
  [data6] TEXT, 
  [data7] TEXT, 
  [data8] TEXT, 
  [data9] TEXT, 
  [data10] TEXT, 
  [data11] TEXT, 
  [data12] TEXT, 
  [data13] TEXT, 
  [data14] TEXT, 
  [data15] TEXT, 
  [data_sync1] TEXT, 
  [data_sync2] TEXT, 
  [data_sync3] TEXT, 
  [data_sync4] TEXT);
CREATE INDEX [main].[data_mimetype_data1_index] ON [data] ([mimetype_id], [data1]);
CREATE INDEX [main].[data_raw_contact_id] ON [data] ([raw_contact_id]);

/* Data [main].[data] */
insert into [main].[data] values(8902, null, 8, 4453, 0, 0, 0, '邝露家', '邝露家', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8903, null, 5, 4453, 1, 0, 1, '18979778529', '2', null, '92587797981', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8904, null, 8, 4454, 0, 0, 0, '贤哥', '贤哥', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8905, null, 5, 4454, 1, 0, 1, '15289981910', '2', null, '01918998251', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8906, null, 8, 4455, 0, 0, 0, '三', '三', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8907, null, 5, 4455, 1, 0, 1, '15298955253', '2', null, '35255989251', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8908, null, 8, 4456, 0, 0, 0, '凯惠', '凯惠', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8909, null, 5, 4456, 1, 0, 1, '15017519610', '2', null, '01691571051', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8910, null, 8, 4457, 0, 0, 0, '四仔', '四仔', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8911, null, 5, 4457, 1, 0, 1, '13659748056', '2', null, '65084795631', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8912, null, 8, 4458, 0, 0, 0, '汝健', '汝健', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8913, null, 5, 4458, 1, 0, 1, '15040623721', '2', null, '12732604051', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8914, null, 8, 4459, 0, 0, 0, '东莞卡', '东莞卡', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8915, null, 5, 4459, 1, 0, 1, '13433650470', '2', null, '07405633431', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8916, null, 8, 4460, 0, 0, 0, '陈文坚', '陈文坚', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8917, null, 5, 4460, 1, 0, 1, '13611472538', '2', null, '83527411631', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8918, null, 8, 4461, 0, 0, 0, '邝露', '邝露', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8919, null, 5, 4461, 1, 0, 1, '13798767408', '2', null, '80476789731', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8920, null, 8, 4462, 0, 0, 0, '甘嘉俊', '甘嘉俊', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8921, null, 5, 4462, 1, 0, 1, '13509079809', '2', null, '90897090531', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8922, null, 8, 4463, 0, 0, 0, '老高', '老高', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8923, null, 5, 4463, 1, 0, 1, '18902468510', '2', null, '01586420981', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8924, null, 8, 4464, 0, 0, 0, '小宇', '小宇', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8925, null, 5, 4464, 1, 0, 1, '15989109890', '2', null, '09890198951', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8926, null, 8, 4465, 0, 0, 0, '运全', '运全', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8927, null, 5, 4465, 1, 0, 1, '15818142784', '2', null, '48724181851', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8928, null, 8, 4466, 0, 0, 0, '海林', '海林', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8929, null, 5, 4466, 1, 0, 1, '15920433688', '2', null, '88633402951', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8930, null, 8, 4467, 0, 0, 0, '刘春燕', '刘春燕', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8931, null, 5, 4467, 1, 0, 1, '15363683503', '2', null, '30538636351', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8932, null, 8, 4468, 0, 0, 0, '余生', '余生', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8933, null, 5, 4468, 1, 0, 1, '13590032749', '2', null, '94723009531', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8934, null, 8, 4469, 0, 0, 0, '金龙', '金龙', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8935, null, 5, 4469, 1, 0, 1, '18664648613', '2', null, '31684646681', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8936, null, 8, 4470, 0, 0, 0, '干爆', '干爆', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8937, null, 5, 4470, 1, 0, 1, '18666353648', '2', null, '84635366681', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8938, null, 8, 4471, 0, 0, 0, '超', '超', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8939, null, 5, 4471, 1, 0, 1, '15999966982', '2', null, '28966999951', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8940, null, 8, 4472, 0, 0, 0, '刘奥', '刘奥', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8941, null, 5, 4472, 1, 0, 1, '13570517578', '2', null, '87571507531', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8942, null, 8, 4473, 0, 0, 0, '忠池', '忠池', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8943, null, 5, 4473, 1, 0, 1, '13692345137', '2', null, '73154329631', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8944, null, 8, 4474, 0, 0, 0, '华丽', '华丽', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8945, null, 5, 4474, 1, 0, 1, '13542043355', '2', null, '55334024531', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8946, null, 8, 4475, 0, 0, 0, '学余', '学余', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8947, null, 5, 4475, 1, 0, 1, '13768888483', '2', null, '38488886731', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8948, null, 8, 4476, 0, 0, 0, '周杰峰', '周杰峰', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8949, null, 5, 4476, 1, 0, 1, '13560097327', '2', null, '72379006531', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8950, null, 8, 4477, 0, 0, 0, '罗斌', '罗斌', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8951, null, 5, 4477, 1, 0, 1, '18664831187', '2', null, '78113846681', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8952, null, 8, 4478, 0, 0, 0, '邝露工商', '邝露工商', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8953, null, 5, 4478, 1, 0, 1, '6222300051878992', '2', null, '2998781500032226', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8954, null, 8, 4479, 0, 0, 0, '东莞包', '东莞包', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8955, null, 5, 4479, 1, 0, 1, '13512769352', '2', null, '25396721531', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8956, null, 8, 4480, 0, 0, 0, '房东', '房东', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8957, null, 5, 4480, 1, 0, 1, '13710893382', '2', null, '28339801731', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8958, null, 8, 4481, 0, 0, 0, '胖子', '胖子', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8959, null, 5, 4481, 1, 0, 1, '18602067553', '2', null, '35576020681', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8960, null, 8, 4482, 0, 0, 0, '鈡', '鈡', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8961, null, 5, 4482, 1, 0, 1, '13662691800', '2', null, '00819626631', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8962, null, 8, 4483, 0, 0, 0, '三姐', '三姐', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8963, null, 5, 4483, 1, 0, 1, '15976834754', '2', null, '45743867951', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8964, null, 8, 4484, 0, 0, 0, '以大', '以大', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8965, null, 5, 4484, 1, 0, 1, '13660743401', '2', null, '10434706631', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8966, null, 8, 4485, 0, 0, 0, '银富', '银富', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8967, null, 5, 4485, 1, 0, 1, '13570504078', '2', null, '87040507531', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8968, null, 8, 4486, 0, 0, 0, '胡秋虹', '胡秋虹', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8969, null, 5, 4486, 1, 0, 1, '15018419378', '2', null, '87391481051', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8970, null, 8, 4487, 0, 0, 0, '左丹奴', '左丹奴', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8971, null, 5, 4487, 1, 0, 1, '13826402017', '2', null, '71020462831', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8972, null, 8, 4488, 0, 0, 0, '老周', '老周', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8973, null, 5, 4488, 1, 0, 1, '18026219877', '2', null, '77891262081', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8974, null, 8, 4489, 0, 0, 0, '杰峰', '杰峰', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8975, null, 5, 4489, 1, 0, 1, '18659483179', '2', null, '97138495681', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8976, null, 8, 4490, 0, 0, 0, 'J', 'J', null, null, null, null, null, null, null, '1', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8977, null, 5, 4490, 1, 0, 1, '13531006041', '2', null, '14060013531', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8978, null, 8, 4491, 0, 0, 0, '本富', '本富', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8979, null, 5, 4491, 1, 0, 1, '13556028962', '2', null, '26982065531', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8980, null, 8, 4492, 0, 0, 0, 'Rl汝健', 'Rl汝健', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8981, null, 5, 4492, 1, 0, 1, '15640882825', '2', null, '52828804651', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8982, null, 8, 4493, 0, 0, 0, '剑宁', '剑宁', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8983, null, 5, 4493, 1, 0, 1, '15920494210', '2', null, '01249402951', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8984, null, 8, 4494, 0, 0, 0, '其孔', '其孔', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8985, null, 5, 4494, 1, 0, 1, '15207592029', '2', null, '92029570251', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8986, null, 8, 4495, 0, 0, 0, '柄良', '柄良', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8987, null, 5, 4495, 1, 0, 1, '15012832001', '2', null, '10023821051', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8988, null, 8, 4496, 0, 0, 0, '明聪', '明聪', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8989, null, 5, 4496, 1, 0, 1, '13450895062', '2', null, '26059805431', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8990, null, 8, 4497, 0, 0, 0, '陈特', '陈特', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8991, null, 5, 4497, 1, 0, 1, '13828221565', '2', null, '56512282831', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8992, null, 8, 4498, 0, 0, 0, '忠池3', '忠池3', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8993, null, 5, 4498, 1, 0, 1, '15876381404', '2', null, '40418367851', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8994, null, 8, 4499, 0, 0, 0, null, '', null, null, null, null, null, null, null, '0', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8995, null, 5, 4499, 1, 0, 1, '13751728138', '2', null, '83182715731', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
insert into [main].[data] values(8996, null, 8, 4500, 0, 0, 0, '晓欣', '晓欣', null, null, null, null, null, null, null, '2', '0', null, null, null, null, null, null, null, null);
insert into [main].[data] values(8997, null, 5, 4500, 1, 0, 1, '13428879524', '2', null, '42597882431', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);


/* Drop table [main].[groups] */
drop table if exists [main].[groups];

/* Table structure [main].[groups] */
CREATE TABLE [main].[groups] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [package_id] INTEGER REFERENCES [package]([_id]), 
  [account_name] STRING DEFAULT NULL, 
  [account_type] STRING DEFAULT NULL, 
  [sourceid] TEXT, 
  [version] INTEGER NOT NULL DEFAULT 1, 
  [dirty] INTEGER NOT NULL DEFAULT 0, 
  [title] TEXT, 
  [title_res] INTEGER, 
  [notes] TEXT, 
  [system_id] TEXT, 
  [deleted] INTEGER NOT NULL DEFAULT 0, 
  [group_visible] INTEGER NOT NULL DEFAULT 0, 
  [should_sync] INTEGER NOT NULL DEFAULT 1, 
  [sync1] TEXT, 
  [sync2] TEXT, 
  [sync3] TEXT, 
  [sync4] TEXT);
CREATE INDEX [main].[groups_source_id_index] ON [groups] ([sourceid], [account_type], [account_name]);

/* Data [main].[groups] */
insert into [main].[groups] values(1, null, 'Phone', 'com.android.huawei.phone', null, 1, 1, '好友', null, null, null, 0, 1, 1, null, null, null, 'predefined_group_0');
insert into [main].[groups] values(2, null, 'Phone', 'com.android.huawei.phone', null, 1, 1, '家庭', null, null, null, 0, 1, 1, null, null, null, 'predefined_group_1');
insert into [main].[groups] values(3, null, 'Phone', 'com.android.huawei.phone', null, 1, 1, '工作', null, null, null, 0, 1, 1, null, null, null, 'predefined_group_2');


/* Drop table [main].[group_extension] */
drop table if exists [main].[group_extension];

/* Table structure [main].[group_extension] */
CREATE TABLE [main].[group_extension] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [group_ref_id] INTEGER REFERENCES [groups]([_id]), 
  [tmo_group_id] INTEGER, 
  [type] TEXT, 
  [priority] INTEGER, 
  [grp_ringtone] TEXT, 
  [grp_order] INTEGER NOT NULL DEFAULT 0, 
  [grp_icon] BLOB, 
  [grp_icon_size] INTEGER, 
  [grp_icon_fmt] TEXT, 
  [ti_icon] BLOB, 
  [ti_icon_size] INTEGER, 
  [ti_icon_fmt] TEXT, 
  [grp_size] INTEGER NOT NULL DEFAULT 0);

/* Data [main].[group_extension] */
insert into [main].[group_extension] values(1, 1, null, null, null, null, 0, null, null, null, null, null, null, 0);
insert into [main].[group_extension] values(2, 2, null, null, null, null, 0, null, null, null, null, null, null, 0);
insert into [main].[group_extension] values(3, 3, null, null, null, null, 0, null, null, null, null, null, null, 0);


/* Drop table [main].[mimetypes] */
drop table if exists [main].[mimetypes];

/* Table structure [main].[mimetypes] */
CREATE TABLE [main].[mimetypes] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [mimetype] TEXT NOT NULL);
CREATE UNIQUE INDEX [main].[mime_type] ON [mimetypes] ([mimetype]);

/* Data [main].[mimetypes] */
insert into [main].[mimetypes] values(1, 'vnd.android.cursor.item/email_v2');
insert into [main].[mimetypes] values(2, 'vnd.android.cursor.item/im');
insert into [main].[mimetypes] values(3, 'vnd.android.cursor.item/postal-address_v2');
insert into [main].[mimetypes] values(4, 'vnd.android.cursor.item/photo');
insert into [main].[mimetypes] values(5, 'vnd.android.cursor.item/phone_v2');
insert into [main].[mimetypes] values(6, 'vnd.android.cursor.item/sns');
insert into [main].[mimetypes] values(7, 'vnd.android.huawei.cursor.item/ringtone');
insert into [main].[mimetypes] values(8, 'vnd.android.cursor.item/name');
insert into [main].[mimetypes] values(9, 'vnd.android.cursor.item/organization');
insert into [main].[mimetypes] values(10, 'vnd.android.cursor.item/nickname');
insert into [main].[mimetypes] values(11, 'vnd.android.cursor.item/group_membership');


/* Drop table [main].[myProfile] */
drop table if exists [main].[myProfile];

/* Table structure [main].[myProfile] */
CREATE TABLE [main].[myProfile] (
  [key] TEXT, 
  [value] TEXT, 
  [type] TEXT, 
  [preferred] INTEGER, 
  [extradata] BLOB);

/* Data [main].[myProfile] */
insert into [main].[myProfile] values('sync_dirty', '0', null, null, null);


/* Drop table [main].[name_lookup] */
drop table if exists [main].[name_lookup];

/* Table structure [main].[name_lookup] */
CREATE TABLE [main].[name_lookup] (
  [data_id] INTEGER NOT NULL REFERENCES [data]([_id]), 
  [raw_contact_id] INTEGER NOT NULL REFERENCES [raw_contacts]([_id]), 
  [normalized_name] TEXT NOT NULL, 
  [name_type] INTEGER NOT NULL, 
  [name_subtype] INTEGER NOT NULL DEFAULT 0, 
  CONSTRAINT [sqlite_autoindex_name_lookup_1] PRIMARY KEY ([data_id], [normalized_name], [name_type], [name_subtype]));
CREATE INDEX [main].[name_lookup_index] ON [name_lookup] ([normalized_name], [name_type], [raw_contact_id], [data_id]);
CREATE INDEX [main].[name_lookup_name_type_id_index] ON [name_lookup] ([name_type], [name_subtype]);
CREATE INDEX [main].[name_lookup_raw_contact_id_index] ON [name_lookup] ([raw_contact_id]);

/* Data [main].[name_lookup] */
insert into [main].[name_lookup] values(8902, 4453, 'DF1454DF19E1DF0DA0', 0, 0);
insert into [main].[name_lookup] values(8902, 4453, 'DF1454DF19E1DF0DA0', 2, 3);
insert into [main].[name_lookup] values(8902, 4453, '41433F3D2D', 6, 5);
insert into [main].[name_lookup] values(8902, 4453, '3F3D2D', 6, 6);
insert into [main].[name_lookup] values(8902, 4453, '4349553F3D2D', 6, 6);
insert into [main].[name_lookup] values(8902, 4453, '414349553F3D2D', 6, 5);
insert into [main].[name_lookup] values(8902, 4453, 'DF19E1DF0DA0', 6, 3);
insert into [main].[name_lookup] values(8902, 4453, '41552D47394349553F3D2D', 6, 6);
insert into [main].[name_lookup] values(8902, 4453, '433F', 6, 7);
insert into [main].[name_lookup] values(8902, 4453, '41433F', 6, 1);
insert into [main].[name_lookup] values(8902, 4453, 'DF1454DF19E1DF0DA0', 6, 3);
insert into [main].[name_lookup] values(8902, 4453, '433F3D2D', 6, 5);
insert into [main].[name_lookup] values(8902, 4453, '3F', 6, 7);
insert into [main].[name_lookup] values(8902, 4453, 'DF0DA0', 6, 3);
insert into [main].[name_lookup] values(8904, 4454, 'DF354BDF05B2', 0, 0);
insert into [main].[name_lookup] values(8904, 4454, 'DF354BDF05B2', 2, 3);
insert into [main].[name_lookup] values(8904, 4454, '5B3D2D473935', 6, 6);
insert into [main].[name_lookup] values(8904, 4454, 'DF354BDF05B2', 6, 3);
insert into [main].[name_lookup] values(8904, 4454, '3935', 6, 6);
insert into [main].[name_lookup] values(8904, 4454, '39', 6, 7);
insert into [main].[name_lookup] values(8904, 4454, '5B39', 6, 1);
insert into [main].[name_lookup] values(8904, 4454, '5B3935', 6, 5);
insert into [main].[name_lookup] values(8904, 4454, 'DF05B2', 6, 3);
insert into [main].[name_lookup] values(8906, 4455, 'DF28A1', 0, 0);
insert into [main].[name_lookup] values(8906, 4455, 'DF28A1', 2, 3);
insert into [main].[name_lookup] values(8906, 4455, '512D47', 6, 6);
insert into [main].[name_lookup] values(8906, 4455, 'DF28A1', 6, 3);
insert into [main].[name_lookup] values(8906, 4455, '51', 6, 1);
insert into [main].[name_lookup] values(8908, 4456, 'DF12E1DF0BBA', 0, 0);
insert into [main].[name_lookup] values(8908, 4456, 'DF12E1DF0BBA', 2, 3);
insert into [main].[name_lookup] values(8908, 4456, '3B553D', 6, 6);
insert into [main].[name_lookup] values(8908, 4456, 'DF0BBA', 6, 3);
insert into [main].[name_lookup] values(8908, 4456, '413B', 6, 1);
insert into [main].[name_lookup] values(8908, 4456, 'DF12E1DF0BBA', 6, 3);
insert into [main].[name_lookup] values(8908, 4456, '3B', 6, 7);
insert into [main].[name_lookup] values(8908, 4456, '413B553D', 6, 5);
insert into [main].[name_lookup] values(8908, 4456, '412D3D3B553D', 6, 6);
insert into [main].[name_lookup] values(8910, 4457, 'DF2C73DF466B', 0, 0);
insert into [main].[name_lookup] values(8910, 4457, 'DF2C73DF466B', 2, 3);
insert into [main].[name_lookup] values(8910, 4457, '513D5F3D', 6, 6);
insert into [main].[name_lookup] values(8910, 4457, 'DF466B', 6, 3);
insert into [main].[name_lookup] values(8910, 4457, '5F3D', 6, 6);
insert into [main].[name_lookup] values(8910, 4457, 'DF2C73DF466B', 6, 3);
insert into [main].[name_lookup] values(8910, 4457, '515F', 6, 1);
insert into [main].[name_lookup] values(8910, 4457, '515F3D', 6, 5);
insert into [main].[name_lookup] values(8910, 4457, '5F', 6, 7);
insert into [main].[name_lookup] values(8912, 4458, 'DF2825DF0E8A', 0, 0);
insert into [main].[name_lookup] values(8912, 4458, 'DF2825DF0E8A', 2, 3);
insert into [main].[name_lookup] values(8912, 4458, '4F3F3D2D47', 6, 5);
insert into [main].[name_lookup] values(8912, 4458, '4F553F3D2D47', 6, 6);
insert into [main].[name_lookup] values(8912, 4458, '3F3D2D47', 6, 6);
insert into [main].[name_lookup] values(8912, 4458, '3F', 6, 7);
insert into [main].[name_lookup] values(8912, 4458, 'DF0E8A', 6, 3);
insert into [main].[name_lookup] values(8912, 4458, '4F3F', 6, 1);
insert into [main].[name_lookup] values(8912, 4458, 'DF2825DF0E8A', 6, 3);
insert into [main].[name_lookup] values(8914, 4459, 'DB67DF31A1DF12D4', 0, 0);
insert into [main].[name_lookup] values(8914, 4459, 'DB67DF31A1DF12D4', 2, 3);
insert into [main].[name_lookup] values(8914, 4459, '33592D47412D', 6, 5);
insert into [main].[name_lookup] values(8914, 4459, '592D47412D', 6, 6);
insert into [main].[name_lookup] values(8914, 4459, '412D', 6, 6);
insert into [main].[name_lookup] values(8914, 4459, 'DF12D4', 6, 3);
insert into [main].[name_lookup] values(8914, 4459, 'DB67DF31A1DF12D4', 6, 3);
insert into [main].[name_lookup] values(8914, 4459, '33494739592D47412D', 6, 6);
insert into [main].[name_lookup] values(8914, 4459, '59412D', 6, 5);
insert into [main].[name_lookup] values(8914, 4459, 'DF31A1DF12D4', 6, 3);
insert into [main].[name_lookup] values(8914, 4459, '3359412D', 6, 5);
insert into [main].[name_lookup] values(8914, 4459, '335941', 6, 1);
insert into [main].[name_lookup] values(8914, 4459, '5941', 6, 7);
insert into [main].[name_lookup] values(8914, 4459, '41', 6, 7);
insert into [main].[name_lookup] values(8916, 4460, 'D560DF32C8DF0DEE', 0, 0);
insert into [main].[name_lookup] values(8916, 4460, 'D560DF32C8DF0DEE', 2, 3);
insert into [main].[name_lookup] values(8916, 4460, '3F3D2D47', 6, 6);
insert into [main].[name_lookup] values(8916, 4460, 'DF0DEE', 6, 3);
insert into [main].[name_lookup] values(8916, 4460, '5935473F3D2D47', 6, 6);
insert into [main].[name_lookup] values(8916, 4460, '31593F3D2D47', 6, 5);
insert into [main].[name_lookup] values(8916, 4460, '313B35475935473F3D2D47', 6, 6);
insert into [main].[name_lookup] values(8916, 4460, 'DF32C8DF0DEE', 6, 3);
insert into [main].[name_lookup] values(8916, 4460, 'D560DF32C8DF0DEE', 6, 3);
insert into [main].[name_lookup] values(8916, 4460, '593F', 6, 7);
insert into [main].[name_lookup] values(8916, 4460, '315935473F3D2D47', 6, 5);
insert into [main].[name_lookup] values(8916, 4460, '593F3D2D47', 6, 5);
insert into [main].[name_lookup] values(8916, 4460, '31593F', 6, 1);
insert into [main].[name_lookup] values(8916, 4460, '3F', 6, 7);
insert into [main].[name_lookup] values(8918, 4461, 'DF1454DF19E1', 0, 0);
insert into [main].[name_lookup] values(8918, 4461, 'DF1454DF19E1', 2, 3);
insert into [main].[name_lookup] values(8918, 4461, '43', 6, 7);
insert into [main].[name_lookup] values(8918, 4461, 'DF1454DF19E1', 6, 3);
insert into [main].[name_lookup] values(8918, 4461, '434955', 6, 6);
insert into [main].[name_lookup] values(8918, 4461, '4143', 6, 1);
insert into [main].[name_lookup] values(8918, 4461, '41552D4739434955', 6, 6);
insert into [main].[name_lookup] values(8918, 4461, 'DF19E1', 6, 3);
insert into [main].[name_lookup] values(8918, 4461, '41434955', 6, 5);
insert into [main].[name_lookup] values(8920, 4462, 'DF0513DF0DB0DF12B5', 0, 0);
insert into [main].[name_lookup] values(8920, 4462, 'DF0513DF0DB0DF12B5', 2, 3);
insert into [main].[name_lookup] values(8920, 4462, '393F3F5547', 6, 5);
insert into [main].[name_lookup] values(8920, 4462, '393F3D2D3F5547', 6, 5);
insert into [main].[name_lookup] values(8920, 4462, 'DF0513DF0DB0DF12B5', 6, 3);
insert into [main].[name_lookup] values(8920, 4462, '3F3F', 6, 7);
insert into [main].[name_lookup] values(8920, 4462, '3F3D2D3F5547', 6, 6);
insert into [main].[name_lookup] values(8920, 4462, '3F5547', 6, 6);
insert into [main].[name_lookup] values(8920, 4462, 'DF0DB0DF12B5', 6, 3);
insert into [main].[name_lookup] values(8920, 4462, '3F3F5547', 6, 5);
insert into [main].[name_lookup] values(8920, 4462, '393F3F', 6, 1);
insert into [main].[name_lookup] values(8920, 4462, '392D473F3D2D3F5547', 6, 6);
insert into [main].[name_lookup] values(8920, 4462, 'DF12B5', 6, 3);
insert into [main].[name_lookup] values(8920, 4462, '3F', 6, 7);
insert into [main].[name_lookup] values(8922, 4463, 'DF1605DF0576', 0, 0);
insert into [main].[name_lookup] values(8922, 4463, 'DF1605DF0576', 2, 3);
insert into [main].[name_lookup] values(8922, 4463, 'DF0576', 6, 3);
insert into [main].[name_lookup] values(8922, 4463, '432D49392D49', 6, 6);
insert into [main].[name_lookup] values(8922, 4463, '39', 6, 7);
insert into [main].[name_lookup] values(8922, 4463, '392D49', 6, 6);
insert into [main].[name_lookup] values(8922, 4463, '43392D49', 6, 5);
insert into [main].[name_lookup] values(8922, 4463, '4339', 6, 1);
insert into [main].[name_lookup] values(8922, 4463, 'DF1605DF0576', 6, 3);
insert into [main].[name_lookup] values(8924, 4464, 'DF366CDF3F25', 0, 0);
insert into [main].[name_lookup] values(8924, 4464, 'DF366CDF3F25', 2, 3);
insert into [main].[name_lookup] values(8924, 4464, '5B3D2D495D55', 6, 6);
insert into [main].[name_lookup] values(8924, 4464, '5D55', 6, 6);
insert into [main].[name_lookup] values(8924, 4464, '5D', 6, 7);
insert into [main].[name_lookup] values(8924, 4464, '5B5D55', 6, 5);
insert into [main].[name_lookup] values(8924, 4464, 'DF366CDF3F25', 6, 3);
insert into [main].[name_lookup] values(8924, 4464, 'DF3F25', 6, 3);
insert into [main].[name_lookup] values(8924, 4464, '5B5D', 6, 1);
insert into [main].[name_lookup] values(8926, 4465, 'DF40B9DF26BC', 0, 0);
insert into [main].[name_lookup] values(8926, 4465, 'DF40B9DF26BC', 2, 3);
insert into [main].[name_lookup] values(8926, 4465, 'DF26BC', 6, 3);
insert into [main].[name_lookup] values(8926, 4465, '5D55474D552D47', 6, 6);
insert into [main].[name_lookup] values(8926, 4465, '4D', 6, 7);
insert into [main].[name_lookup] values(8926, 4465, '5D4D552D47', 6, 5);
insert into [main].[name_lookup] values(8926, 4465, '5D4D', 6, 1);
insert into [main].[name_lookup] values(8926, 4465, 'DF40B9DF26BC', 6, 3);
insert into [main].[name_lookup] values(8926, 4465, '4D552D47', 6, 6);
insert into [main].[name_lookup] values(8928, 4466, 'DF083ADF1871', 0, 0);
insert into [main].[name_lookup] values(8928, 4466, 'DF083ADF1871', 2, 3);
insert into [main].[name_lookup] values(8928, 4466, '3B433D47', 6, 5);
insert into [main].[name_lookup] values(8928, 4466, '43', 6, 7);
insert into [main].[name_lookup] values(8928, 4466, '433D47', 6, 6);
insert into [main].[name_lookup] values(8928, 4466, 'DF083ADF1871', 6, 3);
insert into [main].[name_lookup] values(8928, 4466, '3B43', 6, 1);
insert into [main].[name_lookup] values(8928, 4466, '3B2D3D433D47', 6, 6);
insert into [main].[name_lookup] values(8928, 4466, 'DF1871', 6, 3);
insert into [main].[name_lookup] values(8930, 4467, 'DF191ED77ADF3A22', 0, 0);
insert into [main].[name_lookup] values(8930, 4467, 'DF191ED77ADF3A22', 2, 3);
insert into [main].[name_lookup] values(8930, 4467, '43313B55475D2D47', 6, 5);
insert into [main].[name_lookup] values(8930, 4467, '315D', 6, 7);
insert into [main].[name_lookup] values(8930, 4467, '433D55313B55475D2D47', 6, 6);
insert into [main].[name_lookup] values(8930, 4467, 'DF191ED77ADF3A22', 6, 3);
insert into [main].[name_lookup] values(8930, 4467, 'D77ADF3A22', 6, 3);
insert into [main].[name_lookup] values(8930, 4467, '315D2D47', 6, 5);
insert into [main].[name_lookup] values(8930, 4467, '43315D', 6, 1);
insert into [main].[name_lookup] values(8930, 4467, '313B55475D2D47', 6, 6);
insert into [main].[name_lookup] values(8930, 4467, '43315D2D47', 6, 5);
insert into [main].[name_lookup] values(8930, 4467, '5D2D47', 6, 6);
insert into [main].[name_lookup] values(8930, 4467, '5D', 6, 7);
insert into [main].[name_lookup] values(8930, 4467, 'DF3A22', 6, 3);
insert into [main].[name_lookup] values(8932, 4468, 'DF3EC1DF2A66', 0, 0);
insert into [main].[name_lookup] values(8932, 4468, 'DF3EC1DF2A66', 2, 3);
insert into [main].[name_lookup] values(8932, 4468, '5D55513B354739', 6, 6);
insert into [main].[name_lookup] values(8932, 4468, 'DF3EC1DF2A66', 6, 3);
insert into [main].[name_lookup] values(8932, 4468, 'DF2A66', 6, 3);
insert into [main].[name_lookup] values(8932, 4468, '5D51', 6, 1);
insert into [main].[name_lookup] values(8932, 4468, '513B354739', 6, 6);
insert into [main].[name_lookup] values(8932, 4468, '51', 6, 7);
insert into [main].[name_lookup] values(8932, 4468, '5D513B354739', 6, 5);
insert into [main].[name_lookup] values(8934, 4469, 'DF1029DF1971', 0, 0);
insert into [main].[name_lookup] values(8934, 4469, 'DF1029DF1971', 2, 3);
insert into [main].[name_lookup] values(8934, 4469, '43', 6, 7);
insert into [main].[name_lookup] values(8934, 4469, '43494739', 6, 6);
insert into [main].[name_lookup] values(8934, 4469, '3F43', 6, 1);
insert into [main].[name_lookup] values(8934, 4469, '3F3D4743494739', 6, 6);
insert into [main].[name_lookup] values(8934, 4469, 'DF1029DF1971', 6, 3);
insert into [main].[name_lookup] values(8934, 4469, '3F43494739', 6, 5);
insert into [main].[name_lookup] values(8934, 4469, 'DF1971', 6, 3);
insert into [main].[name_lookup] values(8936, 4470, 'DF0512D0DC', 0, 0);
insert into [main].[name_lookup] values(8936, 4470, 'DF0512D0DC', 2, 3);
insert into [main].[name_lookup] values(8936, 4470, '392F2D49', 6, 5);
insert into [main].[name_lookup] values(8936, 4470, 'D0DC', 6, 3);
insert into [main].[name_lookup] values(8936, 4470, 'DF0512D0DC', 6, 3);
insert into [main].[name_lookup] values(8936, 4470, '2F', 6, 7);
insert into [main].[name_lookup] values(8936, 4470, '392F', 6, 1);
insert into [main].[name_lookup] values(8936, 4470, '392D472F2D49', 6, 6);
insert into [main].[name_lookup] values(8936, 4470, '2F2D49', 6, 6);
insert into [main].[name_lookup] values(8938, 4471, 'D517', 0, 0);
insert into [main].[name_lookup] values(8938, 4471, 'D517', 2, 3);
insert into [main].[name_lookup] values(8938, 4471, '313B2D49', 6, 6);
insert into [main].[name_lookup] values(8938, 4471, 'D517', 6, 3);
insert into [main].[name_lookup] values(8938, 4471, '31', 6, 1);
insert into [main].[name_lookup] values(8940, 4472, 'DF191ECFE0', 0, 0);
insert into [main].[name_lookup] values(8940, 4472, 'DF191ECFE0', 2, 3);
insert into [main].[name_lookup] values(8940, 4472, '432D', 6, 1);
insert into [main].[name_lookup] values(8940, 4472, '433D552D49', 6, 6);
insert into [main].[name_lookup] values(8940, 4472, 'DF191ECFE0', 6, 3);
insert into [main].[name_lookup] values(8940, 4472, '432D49', 6, 5);
insert into [main].[name_lookup] values(8940, 4472, '2D49', 6, 6);
insert into [main].[name_lookup] values(8940, 4472, 'CFE0', 6, 3);
insert into [main].[name_lookup] values(8940, 4472, '2D', 6, 7);
insert into [main].[name_lookup] values(8942, 4473, 'DF44A0D616', 0, 0);
insert into [main].[name_lookup] values(8942, 4473, 'DF44A0D616', 2, 3);
insert into [main].[name_lookup] values(8942, 4473, '5F3B494739313B3D', 6, 6);
insert into [main].[name_lookup] values(8942, 4473, 'D616', 6, 3);
insert into [main].[name_lookup] values(8942, 4473, 'DF44A0D616', 6, 3);
insert into [main].[name_lookup] values(8942, 4473, '313B3D', 6, 6);
insert into [main].[name_lookup] values(8942, 4473, '5F31', 6, 1);
insert into [main].[name_lookup] values(8942, 4473, '5F313B3D', 6, 5);
insert into [main].[name_lookup] values(8942, 4473, '31', 6, 7);
insert into [main].[name_lookup] values(8944, 4474, 'DF0A80DF16F6', 0, 0);
insert into [main].[name_lookup] values(8944, 4474, 'DF0A80DF16F6', 2, 3);
insert into [main].[name_lookup] values(8944, 4474, '43', 6, 7);
insert into [main].[name_lookup] values(8944, 4474, '433D', 6, 6);
insert into [main].[name_lookup] values(8944, 4474, 'DF0A80DF16F6', 6, 3);
insert into [main].[name_lookup] values(8944, 4474, '3B552D433D', 6, 6);
insert into [main].[name_lookup] values(8944, 4474, '3B433D', 6, 5);
insert into [main].[name_lookup] values(8944, 4474, '3B43', 6, 1);
insert into [main].[name_lookup] values(8944, 4474, 'DF16F6', 6, 3);
insert into [main].[name_lookup] values(8946, 4475, 'DF3894DF3EC1', 0, 0);
insert into [main].[name_lookup] values(8946, 4475, 'DF3894DF3EC1', 2, 3);
insert into [main].[name_lookup] values(8946, 4475, '5D55', 6, 6);
insert into [main].[name_lookup] values(8946, 4475, '5D', 6, 7);
insert into [main].[name_lookup] values(8946, 4475, '5B5D55', 6, 5);
insert into [main].[name_lookup] values(8946, 4475, 'DF3894DF3EC1', 6, 3);
insert into [main].[name_lookup] values(8946, 4475, 'DF3EC1', 6, 3);
insert into [main].[name_lookup] values(8946, 4475, '5B5D', 6, 1);
insert into [main].[name_lookup] values(8946, 4475, '5B55355D55', 6, 6);
insert into [main].[name_lookup] values(8948, 4476, 'DF44DADF0FBEDEA7', 0, 0);
insert into [main].[name_lookup] values(8948, 4476, 'DF44DADF0FBEDEA7', 2, 3);
insert into [main].[name_lookup] values(8948, 4476, '5F3B49553F3D3537354739', 6, 6);
insert into [main].[name_lookup] values(8948, 4476, '5F3F3D3537354739', 6, 5);
insert into [main].[name_lookup] values(8948, 4476, '37', 6, 7);
insert into [main].[name_lookup] values(8948, 4476, 'DF44DADF0FBEDEA7', 6, 3);
insert into [main].[name_lookup] values(8948, 4476, 'DEA7', 6, 3);
insert into [main].[name_lookup] values(8948, 4476, '5F3F37354739', 6, 5);
insert into [main].[name_lookup] values(8948, 4476, '5F3F37', 6, 1);
insert into [main].[name_lookup] values(8948, 4476, '37354739', 6, 6);
insert into [main].[name_lookup] values(8948, 4476, '3F3D3537354739', 6, 6);
insert into [main].[name_lookup] values(8948, 4476, 'DF0FBEDEA7', 6, 3);
insert into [main].[name_lookup] values(8948, 4476, '3F37', 6, 7);
insert into [main].[name_lookup] values(8948, 4476, '3F37354739', 6, 5);
insert into [main].[name_lookup] values(8950, 4477, 'DF1B0FD280', 0, 0);
insert into [main].[name_lookup] values(8950, 4477, 'DF1B0FD280', 2, 3);
insert into [main].[name_lookup] values(8950, 4477, '2F3D47', 6, 6);
insert into [main].[name_lookup] values(8950, 4477, 'D280', 6, 3);
insert into [main].[name_lookup] values(8950, 4477, '432F', 6, 1);
insert into [main].[name_lookup] values(8950, 4477, '432F3D47', 6, 5);
insert into [main].[name_lookup] values(8950, 4477, 'DF1B0FD280', 6, 3);
insert into [main].[name_lookup] values(8950, 4477, '4355492F3D47', 6, 6);
insert into [main].[name_lookup] values(8950, 4477, '2F', 6, 7);
insert into [main].[name_lookup] values(8952, 4478, 'DF1454DF19E1DF0629DF2999', 0, 0);
insert into [main].[name_lookup] values(8952, 4478, 'DF1454DF19E1DF0629DF2999', 2, 3);
insert into [main].[name_lookup] values(8952, 4478, '513B2D4739', 6, 6);
insert into [main].[name_lookup] values(8952, 4478, '39513B2D4739', 6, 5);
insert into [main].[name_lookup] values(8952, 4478, '433951', 6, 7);
insert into [main].[name_lookup] values(8952, 4478, '414339494739513B2D4739', 6, 5);
insert into [main].[name_lookup] values(8952, 4478, '39494739513B2D4739', 6, 6);
insert into [main].[name_lookup] values(8952, 4478, '41433951', 6, 1);
insert into [main].[name_lookup] values(8952, 4478, '4339494739513B2D4739', 6, 5);
insert into [main].[name_lookup] values(8952, 4478, '43495539494739513B2D4739', 6, 6);
insert into [main].[name_lookup] values(8952, 4478, '41552D473943495539494739513B2D4739', 6, 6);
insert into [main].[name_lookup] values(8952, 4478, 'DF19E1DF0629DF2999', 6, 3);
insert into [main].[name_lookup] values(8952, 4478, '4339513B2D4739', 6, 5);
insert into [main].[name_lookup] values(8952, 4478, '414339513B2D4739', 6, 5);
insert into [main].[name_lookup] values(8952, 4478, '3951', 6, 7);
insert into [main].[name_lookup] values(8952, 4478, '51', 6, 7);
insert into [main].[name_lookup] values(8952, 4478, 'DF0629DF2999', 6, 3);
insert into [main].[name_lookup] values(8952, 4478, 'DF1454DF19E1DF0629DF2999', 6, 3);
insert into [main].[name_lookup] values(8952, 4478, 'DF2999', 6, 3);
insert into [main].[name_lookup] values(8952, 4478, '4143495539494739513B2D4739', 6, 5);
insert into [main].[name_lookup] values(8954, 4479, 'DB67DF31A1D0A1', 0, 0);
insert into [main].[name_lookup] values(8954, 4479, 'DB67DF31A1D0A1', 2, 3);
insert into [main].[name_lookup] values(8954, 4479, '592D472F2D49', 6, 6);
insert into [main].[name_lookup] values(8954, 4479, '592F', 6, 7);
insert into [main].[name_lookup] values(8954, 4479, '33494739592D472F2D49', 6, 6);
insert into [main].[name_lookup] values(8954, 4479, 'DF31A1D0A1', 6, 3);
insert into [main].[name_lookup] values(8954, 4479, '33592F2D49', 6, 5);
insert into [main].[name_lookup] values(8954, 4479, '592F2D49', 6, 5);
insert into [main].[name_lookup] values(8954, 4479, 'DB67DF31A1D0A1', 6, 3);
insert into [main].[name_lookup] values(8954, 4479, '2F', 6, 7);
insert into [main].[name_lookup] values(8954, 4479, 'D0A1', 6, 3);
insert into [main].[name_lookup] values(8954, 4479, '33592D472F2D49', 6, 5);
insert into [main].[name_lookup] values(8954, 4479, '33592F', 6, 1);
insert into [main].[name_lookup] values(8954, 4479, '2F2D49', 6, 6);
insert into [main].[name_lookup] values(8956, 4480, 'DDECDB67', 0, 0);
insert into [main].[name_lookup] values(8956, 4480, 'DDECDB67', 2, 3);
insert into [main].[name_lookup] values(8956, 4480, '33', 6, 7);
insert into [main].[name_lookup] values(8956, 4480, '3733', 6, 1);
insert into [main].[name_lookup] values(8956, 4480, '372D473933494739', 6, 6);
insert into [main].[name_lookup] values(8956, 4480, '33494739', 6, 6);
insert into [main].[name_lookup] values(8956, 4480, 'DB67', 6, 3);
insert into [main].[name_lookup] values(8956, 4480, '3733494739', 6, 5);
insert into [main].[name_lookup] values(8956, 4480, 'DDECDB67', 6, 3);
insert into [main].[name_lookup] values(8958, 4481, 'DF20FADF46A8', 0, 0);
insert into [main].[name_lookup] values(8958, 4481, 'DF20FADF46A8', 2, 3);
insert into [main].[name_lookup] values(8958, 4481, 'DF20FADF46A8', 6, 3);
insert into [main].[name_lookup] values(8958, 4481, '5F3D', 6, 6);
insert into [main].[name_lookup] values(8958, 4481, '4B5F3D', 6, 5);
insert into [main].[name_lookup] values(8958, 4481, '4B5F', 6, 1);
insert into [main].[name_lookup] values(8958, 4481, '4B2D47395F3D', 6, 6);
insert into [main].[name_lookup] values(8958, 4481, 'DF46A8', 6, 3);
insert into [main].[name_lookup] values(8958, 4481, '5F', 6, 7);
insert into [main].[name_lookup] values(8960, 4482, 'DF44AB', 0, 0);
insert into [main].[name_lookup] values(8960, 4482, 'DF44AB', 2, 3);
insert into [main].[name_lookup] values(8960, 4482, '5F3B494739', 6, 6);
insert into [main].[name_lookup] values(8960, 4482, 'DF44AB', 6, 3);
insert into [main].[name_lookup] values(8960, 4482, '5F', 6, 1);
insert into [main].[name_lookup] values(8962, 4483, 'DF28A1DF0FF7', 0, 0);
insert into [main].[name_lookup] values(8962, 4483, 'DF28A1DF0FF7', 2, 3);
insert into [main].[name_lookup] values(8962, 4483, '512D473F3D35', 6, 6);
insert into [main].[name_lookup] values(8962, 4483, 'DF0FF7', 6, 3);
insert into [main].[name_lookup] values(8962, 4483, 'DF28A1DF0FF7', 6, 3);
insert into [main].[name_lookup] values(8962, 4483, '3F3D35', 6, 6);
insert into [main].[name_lookup] values(8962, 4483, '513F3D35', 6, 5);
insert into [main].[name_lookup] values(8962, 4483, '513F', 6, 1);
insert into [main].[name_lookup] values(8962, 4483, '3F', 6, 7);
insert into [main].[name_lookup] values(8964, 4484, 'DF3BE4D8F8', 0, 0);
insert into [main].[name_lookup] values(8964, 4484, 'DF3BE4D8F8', 2, 3);
insert into [main].[name_lookup] values(8964, 4484, '33', 6, 7);
insert into [main].[name_lookup] values(8964, 4484, '332D', 6, 6);
insert into [main].[name_lookup] values(8964, 4484, 'D8F8', 6, 3);
insert into [main].[name_lookup] values(8964, 4484, '5D3D332D', 6, 6);
insert into [main].[name_lookup] values(8964, 4484, '5D33', 6, 1);
insert into [main].[name_lookup] values(8964, 4484, '5D332D', 6, 5);
insert into [main].[name_lookup] values(8964, 4484, 'DF3BE4D8F8', 6, 3);
insert into [main].[name_lookup] values(8966, 4485, 'DF3D24DF04B8', 0, 0);
insert into [main].[name_lookup] values(8966, 4485, 'DF3D24DF04B8', 2, 3);
insert into [main].[name_lookup] values(8966, 4485, '5D3D473755', 6, 6);
insert into [main].[name_lookup] values(8966, 4485, '37', 6, 7);
insert into [main].[name_lookup] values(8966, 4485, '3755', 6, 6);
insert into [main].[name_lookup] values(8966, 4485, 'DF04B8', 6, 3);
insert into [main].[name_lookup] values(8966, 4485, '5D37', 6, 1);
insert into [main].[name_lookup] values(8966, 4485, 'DF3D24DF04B8', 6, 3);
insert into [main].[name_lookup] values(8966, 4485, '5D3755', 6, 5);
insert into [main].[name_lookup] values(8968, 4486, 'DF0A19DF25F0DF09A4', 0, 0);
insert into [main].[name_lookup] values(8968, 4486, 'DF0A19DF25F0DF09A4', 2, 3);
insert into [main].[name_lookup] values(8968, 4486, 'DF0A19DF25F0DF09A4', 6, 3);
insert into [main].[name_lookup] values(8968, 4486, '4D3B', 6, 7);
insert into [main].[name_lookup] values(8968, 4486, '3B554D3D553B494739', 6, 6);
insert into [main].[name_lookup] values(8968, 4486, '3B494739', 6, 6);
insert into [main].[name_lookup] values(8968, 4486, '4D3B494739', 6, 5);
insert into [main].[name_lookup] values(8968, 4486, 'DF25F0DF09A4', 6, 3);
insert into [main].[name_lookup] values(8968, 4486, '3B4D3B', 6, 1);
insert into [main].[name_lookup] values(8968, 4486, 'DF09A4', 6, 3);
insert into [main].[name_lookup] values(8968, 4486, '3B4D3B494739', 6, 5);
insert into [main].[name_lookup] values(8968, 4486, '3B', 6, 7);
insert into [main].[name_lookup] values(8968, 4486, '4D3D553B494739', 6, 6);
insert into [main].[name_lookup] values(8968, 4486, '3B4D3D553B494739', 6, 5);
insert into [main].[name_lookup] values(8970, 4487, 'DF478FD934DF2035', 0, 0);
insert into [main].[name_lookup] values(8970, 4487, 'DF478FD934DF2035', 2, 3);
insert into [main].[name_lookup] values(8970, 4487, '332D474755', 6, 6);
insert into [main].[name_lookup] values(8970, 4487, '5F3347', 6, 1);
insert into [main].[name_lookup] values(8970, 4487, '5F334755', 6, 5);
insert into [main].[name_lookup] values(8970, 4487, '3347', 6, 7);
insert into [main].[name_lookup] values(8970, 4487, 'DF478FD934DF2035', 6, 3);
insert into [main].[name_lookup] values(8970, 4487, 'DF2035', 6, 3);
insert into [main].[name_lookup] values(8970, 4487, '5F5549332D474755', 6, 6);
insert into [main].[name_lookup] values(8970, 4487, '5F332D474755', 6, 5);
insert into [main].[name_lookup] values(8970, 4487, '334755', 6, 5);
insert into [main].[name_lookup] values(8970, 4487, '4755', 6, 6);
insert into [main].[name_lookup] values(8970, 4487, '47', 6, 7);
insert into [main].[name_lookup] values(8970, 4487, 'D934DF2035', 6, 3);
insert into [main].[name_lookup] values(8972, 4488, 'DF1605DF44DA', 0, 0);
insert into [main].[name_lookup] values(8972, 4488, 'DF1605DF44DA', 2, 3);
insert into [main].[name_lookup] values(8972, 4488, '5F3B4955', 6, 6);
insert into [main].[name_lookup] values(8972, 4488, 'DF44DA', 6, 3);
insert into [main].[name_lookup] values(8972, 4488, '435F3B4955', 6, 5);
insert into [main].[name_lookup] values(8972, 4488, '435F', 6, 1);
insert into [main].[name_lookup] values(8972, 4488, 'DF1605DF44DA', 6, 3);
insert into [main].[name_lookup] values(8972, 4488, '432D495F3B4955', 6, 6);
insert into [main].[name_lookup] values(8972, 4488, '5F', 6, 7);
insert into [main].[name_lookup] values(8974, 4489, 'DF0FBEDEA7', 0, 0);
insert into [main].[name_lookup] values(8974, 4489, 'DF0FBEDEA7', 2, 3);
insert into [main].[name_lookup] values(8974, 4489, '37', 6, 7);
insert into [main].[name_lookup] values(8974, 4489, 'DEA7', 6, 3);
insert into [main].[name_lookup] values(8974, 4489, '3F3D3537354739', 6, 6);
insert into [main].[name_lookup] values(8974, 4489, 'DF0FBEDEA7', 6, 3);
insert into [main].[name_lookup] values(8974, 4489, '3F37', 6, 1);
insert into [main].[name_lookup] values(8974, 4489, '37354739', 6, 6);
insert into [main].[name_lookup] values(8974, 4489, '3F37354739', 6, 5);
insert into [main].[name_lookup] values(8976, 4490, '3F', 0, 0);
insert into [main].[name_lookup] values(8976, 4490, '3F', 2, 3);
insert into [main].[name_lookup] values(8976, 4490, '3F', 6, 1);
insert into [main].[name_lookup] values(8978, 4491, 'D127DF04B8', 0, 0);
insert into [main].[name_lookup] values(8978, 4491, 'D127DF04B8', 2, 3);
insert into [main].[name_lookup] values(8978, 4491, '2F3755', 6, 5);
insert into [main].[name_lookup] values(8978, 4491, '2F37', 6, 1);
insert into [main].[name_lookup] values(8978, 4491, '37', 6, 7);
insert into [main].[name_lookup] values(8978, 4491, '3755', 6, 6);
insert into [main].[name_lookup] values(8978, 4491, 'DF04B8', 6, 3);
insert into [main].[name_lookup] values(8978, 4491, '2F35473755', 6, 6);
insert into [main].[name_lookup] values(8978, 4491, 'D127DF04B8', 6, 3);
insert into [main].[name_lookup] values(8980, 4492, '4F43DF2825DF0E8A', 0, 0);
insert into [main].[name_lookup] values(8980, 4492, '4F43DF2825DF0E8A', 2, 3);
insert into [main].[name_lookup] values(8980, 4492, '4F3F3D2D47', 6, 5);
insert into [main].[name_lookup] values(8980, 4492, '3F3D2D47', 6, 6);
insert into [main].[name_lookup] values(8980, 4492, '4F4F3F', 6, 1);
insert into [main].[name_lookup] values(8980, 4492, 'DF0E8A', 6, 3);
insert into [main].[name_lookup] values(8980, 4492, '4F434F553F3D2D47', 6, 6);
insert into [main].[name_lookup] values(8980, 4492, 'DF2825DF0E8A', 6, 3);
insert into [main].[name_lookup] values(8980, 4492, '4F43DF2825DF0E8A', 6, 3);
insert into [main].[name_lookup] values(8980, 4492, '4F553F3D2D47', 6, 6);
insert into [main].[name_lookup] values(8980, 4492, '3F', 6, 7);
insert into [main].[name_lookup] values(8980, 4492, '4F3F', 6, 7);
insert into [main].[name_lookup] values(8982, 4493, 'DF0E84DF1FDE', 0, 0);
insert into [main].[name_lookup] values(8982, 4493, 'DF0E84DF1FDE', 2, 3);
insert into [main].[name_lookup] values(8982, 4493, '3F47', 6, 1);
insert into [main].[name_lookup] values(8982, 4493, '47', 6, 7);
insert into [main].[name_lookup] values(8982, 4493, 'DF1FDE', 6, 3);
insert into [main].[name_lookup] values(8982, 4493, '3F473D4739', 6, 5);
insert into [main].[name_lookup] values(8982, 4493, 'DF0E84DF1FDE', 6, 3);
insert into [main].[name_lookup] values(8982, 4493, '473D4739', 6, 6);
insert into [main].[name_lookup] values(8982, 4493, '3F3D2D47473D4739', 6, 6);
insert into [main].[name_lookup] values(8984, 4494, 'DF2342DF13C8', 0, 0);
insert into [main].[name_lookup] values(8984, 4494, 'DF2342DF13C8', 2, 3);
insert into [main].[name_lookup] values(8984, 4494, '41494739', 6, 6);
insert into [main].[name_lookup] values(8984, 4494, 'DF13C8', 6, 3);
insert into [main].[name_lookup] values(8984, 4494, '4D3D41494739', 6, 6);
insert into [main].[name_lookup] values(8984, 4494, '4D41494739', 6, 5);
insert into [main].[name_lookup] values(8984, 4494, 'DF2342DF13C8', 6, 3);
insert into [main].[name_lookup] values(8984, 4494, '4D41', 6, 1);
insert into [main].[name_lookup] values(8984, 4494, '41', 6, 7);
insert into [main].[name_lookup] values(8986, 4495, 'D2B7DF17DF', 0, 0);
insert into [main].[name_lookup] values(8986, 4495, 'D2B7DF17DF', 2, 3);
insert into [main].[name_lookup] values(8986, 4495, '2F433D2D4739', 6, 5);
insert into [main].[name_lookup] values(8986, 4495, '43', 6, 7);
insert into [main].[name_lookup] values(8986, 4495, 'D2B7DF17DF', 6, 3);
insert into [main].[name_lookup] values(8986, 4495, '433D2D4739', 6, 6);
insert into [main].[name_lookup] values(8986, 4495, '2F3D4739433D2D4739', 6, 6);
insert into [main].[name_lookup] values(8986, 4495, 'DF17DF', 6, 3);
insert into [main].[name_lookup] values(8986, 4495, '2F43', 6, 1);
insert into [main].[name_lookup] values(8988, 4496, 'DF1DC5D817', 0, 0);
insert into [main].[name_lookup] values(8988, 4496, 'DF1DC5D817', 2, 3);
insert into [main].[name_lookup] values(8988, 4496, '453D473931494739', 6, 6);
insert into [main].[name_lookup] values(8988, 4496, '4531494739', 6, 5);
insert into [main].[name_lookup] values(8988, 4496, '4531', 6, 1);
insert into [main].[name_lookup] values(8988, 4496, 'D817', 6, 3);
insert into [main].[name_lookup] values(8988, 4496, 'DF1DC5D817', 6, 3);
insert into [main].[name_lookup] values(8988, 4496, '31494739', 6, 6);
insert into [main].[name_lookup] values(8988, 4496, '31', 6, 7);
insert into [main].[name_lookup] values(8990, 4497, 'D560DF2EEA', 0, 0);
insert into [main].[name_lookup] values(8990, 4497, 'D560DF2EEA', 2, 3);
insert into [main].[name_lookup] values(8990, 4497, '315335', 6, 5);
insert into [main].[name_lookup] values(8990, 4497, '53', 6, 7);
insert into [main].[name_lookup] values(8990, 4497, '5335', 6, 6);
insert into [main].[name_lookup] values(8990, 4497, 'D560DF2EEA', 6, 3);
insert into [main].[name_lookup] values(8990, 4497, '313B35475335', 6, 6);
insert into [main].[name_lookup] values(8990, 4497, 'DF2EEA', 6, 3);
insert into [main].[name_lookup] values(8990, 4497, '3153', 6, 1);
insert into [main].[name_lookup] values(8992, 4498, 'DF44A0D6162A94', 0, 0);
insert into [main].[name_lookup] values(8992, 4498, 'DF44A0D6162A94', 2, 3);
insert into [main].[name_lookup] values(8992, 4498, '313B3D2A94', 6, 6);
insert into [main].[name_lookup] values(8992, 4498, '2A94', 6, 7);
insert into [main].[name_lookup] values(8992, 4498, '312A94', 6, 7);
insert into [main].[name_lookup] values(8992, 4498, '5F312A94', 6, 1);
insert into [main].[name_lookup] values(8992, 4498, 'DF44A0D6162A94', 6, 3);
insert into [main].[name_lookup] values(8992, 4498, 'D6162A94', 6, 3);
insert into [main].[name_lookup] values(8992, 4498, '5F3B494739313B3D2A94', 6, 6);
insert into [main].[name_lookup] values(8992, 4498, '5F313B3D', 6, 5);
insert into [main].[name_lookup] values(8996, 4500, 'DF366DDF3715', 0, 0);
insert into [main].[name_lookup] values(8996, 4500, 'DF366DDF3715', 2, 3);
insert into [main].[name_lookup] values(8996, 4500, '5B3D47', 6, 6);
insert into [main].[name_lookup] values(8996, 4500, 'DF3715', 6, 3);
insert into [main].[name_lookup] values(8996, 4500, '5B5B3D47', 6, 5);
insert into [main].[name_lookup] values(8996, 4500, 'DF366DDF3715', 6, 3);
insert into [main].[name_lookup] values(8996, 4500, '5B', 6, 7);
insert into [main].[name_lookup] values(8996, 4500, '5B5B', 6, 1);
insert into [main].[name_lookup] values(8996, 4500, '5B3D2D495B3D47', 6, 6);


/* Drop table [main].[nickname_lookup] */
drop table if exists [main].[nickname_lookup];

/* Table structure [main].[nickname_lookup] */
CREATE TABLE [main].[nickname_lookup] (
  [name] TEXT, 
  [cluster] TEXT);
CREATE UNIQUE INDEX [main].[nickname_lookup_index] ON [nickname_lookup] ([name], [cluster]);

/* Data [main].[nickname_lookup] */


/* Drop table [main].[packages] */
drop table if exists [main].[packages];

/* Table structure [main].[packages] */
CREATE TABLE [main].[packages] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [package] TEXT NOT NULL);

/* Data [main].[packages] */


/* Drop table [main].[People_SNS_Photos] */
drop table if exists [main].[People_SNS_Photos];

/* Table structure [main].[People_SNS_Photos] */
CREATE TABLE [main].[People_SNS_Photos] (
  [imageid] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [image] BLOB);

/* Data [main].[People_SNS_Photos] */


/* Drop table [main].[phone_lookup] */
drop table if exists [main].[phone_lookup];

/* Table structure [main].[phone_lookup] */
CREATE TABLE [main].[phone_lookup] (
  [data_id] INTEGER NOT NULL PRIMARY KEY REFERENCES [data]([_id]), 
  [raw_contact_id] INTEGER NOT NULL REFERENCES [raw_contacts]([_id]), 
  [normalized_number] TEXT NOT NULL, 
  [min_match] TEXT NOT NULL);
CREATE INDEX [main].[phone_lookup_index] ON [phone_lookup] ([normalized_number], [raw_contact_id], [data_id]);
CREATE INDEX [main].[phone_lookup_min_match_index] ON [phone_lookup] ([min_match], [raw_contact_id], [data_id]);

/* Data [main].[phone_lookup] */
insert into [main].[phone_lookup] values(8903, 4453, '92587797981', '9258779');
insert into [main].[phone_lookup] values(8905, 4454, '01918998251', '0191899');
insert into [main].[phone_lookup] values(8907, 4455, '35255989251', '3525598');
insert into [main].[phone_lookup] values(8909, 4456, '01691571051', '0169157');
insert into [main].[phone_lookup] values(8911, 4457, '65084795631', '6508479');
insert into [main].[phone_lookup] values(8913, 4458, '12732604051', '1273260');
insert into [main].[phone_lookup] values(8915, 4459, '07405633431', '0740563');
insert into [main].[phone_lookup] values(8917, 4460, '83527411631', '8352741');
insert into [main].[phone_lookup] values(8919, 4461, '80476789731', '8047678');
insert into [main].[phone_lookup] values(8921, 4462, '90897090531', '9089709');
insert into [main].[phone_lookup] values(8923, 4463, '01586420981', '0158642');
insert into [main].[phone_lookup] values(8925, 4464, '09890198951', '0989019');
insert into [main].[phone_lookup] values(8927, 4465, '48724181851', '4872418');
insert into [main].[phone_lookup] values(8929, 4466, '88633402951', '8863340');
insert into [main].[phone_lookup] values(8931, 4467, '30538636351', '3053863');
insert into [main].[phone_lookup] values(8933, 4468, '94723009531', '9472300');
insert into [main].[phone_lookup] values(8935, 4469, '31684646681', '3168464');
insert into [main].[phone_lookup] values(8937, 4470, '84635366681', '8463536');
insert into [main].[phone_lookup] values(8939, 4471, '28966999951', '2896699');
insert into [main].[phone_lookup] values(8941, 4472, '87571507531', '8757150');
insert into [main].[phone_lookup] values(8943, 4473, '73154329631', '7315432');
insert into [main].[phone_lookup] values(8945, 4474, '55334024531', '5533402');
insert into [main].[phone_lookup] values(8947, 4475, '38488886731', '3848888');
insert into [main].[phone_lookup] values(8949, 4476, '72379006531', '7237900');
insert into [main].[phone_lookup] values(8951, 4477, '78113846681', '7811384');
insert into [main].[phone_lookup] values(8953, 4478, '2998781500032226', '2998781');
insert into [main].[phone_lookup] values(8955, 4479, '25396721531', '2539672');
insert into [main].[phone_lookup] values(8957, 4480, '28339801731', '2833980');
insert into [main].[phone_lookup] values(8959, 4481, '35576020681', '3557602');
insert into [main].[phone_lookup] values(8961, 4482, '00819626631', '0081962');
insert into [main].[phone_lookup] values(8963, 4483, '45743867951', '4574386');
insert into [main].[phone_lookup] values(8965, 4484, '10434706631', '1043470');
insert into [main].[phone_lookup] values(8967, 4485, '87040507531', '8704050');
insert into [main].[phone_lookup] values(8969, 4486, '87391481051', '8739148');
insert into [main].[phone_lookup] values(8971, 4487, '71020462831', '7102046');
insert into [main].[phone_lookup] values(8973, 4488, '77891262081', '7789126');
insert into [main].[phone_lookup] values(8975, 4489, '97138495681', '9713849');
insert into [main].[phone_lookup] values(8977, 4490, '14060013531', '1406001');
insert into [main].[phone_lookup] values(8979, 4491, '26982065531', '2698206');
insert into [main].[phone_lookup] values(8981, 4492, '52828804651', '5282880');
insert into [main].[phone_lookup] values(8983, 4493, '01249402951', '0124940');
insert into [main].[phone_lookup] values(8985, 4494, '92029570251', '9202957');
insert into [main].[phone_lookup] values(8987, 4495, '10023821051', '1002382');
insert into [main].[phone_lookup] values(8989, 4496, '26059805431', '2605980');
insert into [main].[phone_lookup] values(8991, 4497, '56512282831', '5651228');
insert into [main].[phone_lookup] values(8993, 4498, '40418367851', '4041836');
insert into [main].[phone_lookup] values(8995, 4499, '83182715731', '8318271');
insert into [main].[phone_lookup] values(8997, 4500, '42597882431', '4259788');


/* Drop table [main].[properties] */
drop table if exists [main].[properties];

/* Table structure [main].[properties] */
CREATE TABLE [main].[properties] (
  [property_key] TEXT, 
  [property_value] TEXT, 
  CONSTRAINT [sqlite_autoindex_properties_1] PRIMARY KEY ([property_key]));

/* Data [main].[properties] */
insert into [main].[properties] values('contacts_predefined_groups', '1');


/* Drop table [main].[raw_contacts] */
drop table if exists [main].[raw_contacts];

/* Table structure [main].[raw_contacts] */
CREATE TABLE [main].[raw_contacts] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [is_restricted] INTEGER DEFAULT 0, 
  [account_name] STRING DEFAULT NULL, 
  [account_type] STRING DEFAULT NULL, 
  [sourceid] TEXT, 
  [version] INTEGER NOT NULL DEFAULT 1, 
  [dirty] INTEGER NOT NULL DEFAULT 0, 
  [deleted] INTEGER NOT NULL DEFAULT 0, 
  [contact_id] INTEGER REFERENCES [contacts]([_id]), 
  [aggregation_mode] INTEGER NOT NULL DEFAULT 0, 
  [aggregation_needed] INTEGER NOT NULL DEFAULT 1, 
  [custom_ringtone] TEXT, 
  [send_to_voicemail] INTEGER NOT NULL DEFAULT 0, 
  [times_contacted] INTEGER NOT NULL DEFAULT 0, 
  [last_time_contacted] INTEGER, 
  [starred] INTEGER NOT NULL DEFAULT 0, 
  [display_name] TEXT, 
  [display_name_alt] TEXT, 
  [display_name_source] INTEGER NOT NULL DEFAULT 0, 
  [phonetic_name] TEXT, 
  [phonetic_name_style] TEXT, 
  [sort_key] TEXT COLLATE PHONEBOOK, 
  [sort_key_alt] TEXT COLLATE PHONEBOOK, 
  [name_verified] INTEGER NOT NULL DEFAULT 0, 
  [contact_in_visible_group] INTEGER NOT NULL DEFAULT 0, 
  [sync1] TEXT, 
  [sync2] TEXT, 
  [sync3] TEXT, 
  [sync4] TEXT, 
  [secondary_display_name] TEXT, 
  [secondary_display_name_source] TEXT, 
  [accounts] LARGEINT NOT NULL DEFAULT 0, 
  [tmo_tariff_icon_id] INTEGER DEFAULT 0, 
  [kaixin_icon_id] INTEGER DEFAULT 0, 
  [dialer_map] TEXT, 
  [normalized_dialer_map] TEXT);
CREATE INDEX [main].[raw_contact_sort_key1_index] ON [raw_contacts] ([contact_in_visible_group], [sort_key]);
CREATE INDEX [main].[raw_contact_sort_key2_index] ON [raw_contacts] ([contact_in_visible_group], [sort_key_alt]);
CREATE INDEX [main].[raw_contacts_contact_id_index] ON [raw_contacts] ([contact_id]);
CREATE INDEX [main].[raw_contacts_dialer_map_index] ON [raw_contacts] ([dialer_map], [normalized_dialer_map]);
CREATE INDEX [main].[raw_contacts_source_id_index] ON [raw_contacts] ([sourceid], [account_type], [account_name]);

/* Data [main].[raw_contacts] */
insert into [main].[raw_contacts] values(4453, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4453, 3, 1, null, 0, 0, null, 0, '邝露家', '邝露家', 40, null, '0', 'KUANG 邝 LOU 露 JIA 家', 'KUANG 邝 LOU 露 JIA 家', 0, 1, '28474', '1', '-973328033', null, '18979778529', '97;2;1', 16, 0, 0, '58264 568 542 ', '555');
insert into [main].[raw_contacts] values(4454, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4455, 3, 1, null, 0, 0, null, 0, '贤哥', '贤哥', 40, null, '0', 'XIAN 贤 GE 哥', 'XIAN 贤 GE 哥', 0, 1, '28474', '2', '-266248452', null, '15289981910', '97;2;1', 16, 0, 0, '9426 43 ', '94');
insert into [main].[raw_contacts] values(4455, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4454, 3, 1, null, 0, 0, null, 0, '三', '三', 40, null, '0', 'SAN 三', 'SAN 三', 0, 1, '28474', '3', '754333587', null, '15298955253', '97;2;1', 16, 0, 0, '726 ', '7');
insert into [main].[raw_contacts] values(4456, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4460, 3, 1, null, 0, 0, null, 0, '凯惠', '凯惠', 40, null, '0', 'KAI 凯 HUI 惠', 'KAI 凯 HUI 惠', 0, 1, '28474', '4', '449702305', null, '15017519610', '97;2;1', 16, 0, 0, '524 484 ', '54');
insert into [main].[raw_contacts] values(4457, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4459, 3, 1, null, 0, 0, null, 0, '四仔', '四仔', 40, null, '0', 'SI 四 ZI 仔', 'SI 四 ZI 仔', 0, 1, '28474', '5', '62731085', null, '13659748056', '97;2;1', 16, 0, 0, '74 94 ', '79');
insert into [main].[raw_contacts] values(4458, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4462, 3, 1, null, 0, 0, null, 0, '汝健', '汝健', 40, null, '0', 'RU 汝 JIAN 健', 'RU 汝 JIAN 健', 0, 1, '28474', '6', '-1404001387', null, '15040623721', '97;2;1', 16, 0, 0, '78 5426 ', '75');
insert into [main].[raw_contacts] values(4459, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4461, 3, 1, null, 0, 1, 1328528815107, 0, '东莞卡', '东莞卡', 40, null, '0', 'DONG 东 WAN 莞 KA 卡', 'DONG 东 WAN 莞 KA 卡', 0, 1, '28474', '7', '262025587', null, '13433650470', '97;2;1', 16, 0, 0, '3664 926 52 ', '395');
insert into [main].[raw_contacts] values(4460, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4457, 3, 1, null, 0, 0, null, 0, '陈文坚', '陈文坚', 40, null, '0', 'CHEN 陈 WEN 文 JIAN 坚', 'CHEN 陈 WEN 文 JIAN 坚', 0, 1, '28474', '8', '1624984416', null, '13611472538', '97;2;1', 16, 0, 0, '2436 936 5426 ', '295');
insert into [main].[raw_contacts] values(4461, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4456, 3, 1, null, 0, 0, null, 0, '邝露', '邝露', 40, null, '0', 'KUANG 邝 LOU 露', 'KUANG 邝 LOU 露', 0, 1, '28474', '9', '-56377229', null, '13798767408', '97;2;1', 16, 0, 0, '58264 568 ', '55');
insert into [main].[raw_contacts] values(4462, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4458, 3, 1, null, 0, 0, null, 0, '甘嘉俊', '甘嘉俊', 40, null, '0', 'GAN 甘 JIA 嘉 JUN 俊', 'GAN 甘 JIA 嘉 JUN 俊', 0, 1, '28474', '10', '-93956470', null, '13509079809', '97;2;1', 16, 0, 0, '426 542 586 ', '455');
insert into [main].[raw_contacts] values(4463, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4471, 3, 1, null, 0, 0, null, 0, '老高', '老高', 40, null, '0', 'LAO 老 GAO 高', 'LAO 老 GAO 高', 0, 1, '28474', '11', '-1284065073', null, '18902468510', '97;2;1', 16, 0, 0, '526 426 ', '54');
insert into [main].[raw_contacts] values(4464, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4467, 3, 1, null, 0, 0, null, 0, '小宇', '小宇', 40, null, '0', 'XIAO 小 YU 宇', 'XIAO 小 YU 宇', 0, 1, '28474', '12', '-164318775', null, '15989109890', '97;2;1', 16, 0, 0, '9426 98 ', '99');
insert into [main].[raw_contacts] values(4465, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4468, 3, 1, null, 0, 0, null, 0, '运全', '运全', 40, null, '0', 'YUN 运 QUAN 全', 'YUN 运 QUAN 全', 0, 1, '28474', '13', '-849882307', null, '15818142784', '97;2;1', 16, 0, 0, '986 7826 ', '97');
insert into [main].[raw_contacts] values(4466, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4469, 3, 1, null, 0, 0, null, 0, '海林', '海林', 40, null, '0', 'HAI 海 LIN 林', 'HAI 海 LIN 林', 0, 1, '28474', '14', '957843835', null, '15920433688', '97;2;1', 16, 0, 0, '424 546 ', '45');
insert into [main].[raw_contacts] values(4467, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4470, 3, 1, null, 0, 0, null, 0, '刘春燕', '刘春燕', 40, null, '0', 'LIU 刘 CHUN 春 YAN 燕', 'LIU 刘 CHUN 春 YAN 燕', 0, 1, '28474', '15', '778956321', null, '15363683503', '97;2;1', 16, 0, 0, '548 2486 926 ', '529');
insert into [main].[raw_contacts] values(4468, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4463, 3, 1, null, 0, 0, null, 0, '余生', '余生', 40, null, '0', 'YU 余 SHENG 生', 'YU 余 SHENG 生', 0, 1, '28474', '16', '-1223094109', null, '13590032749', '97;2;1', 16, 0, 0, '98 74364 ', '97');
insert into [main].[raw_contacts] values(4469, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4464, 3, 1, null, 0, 0, null, 0, '金龙', '金龙', 40, null, '0', 'JIN 金 LONG 龙', 'JIN 金 LONG 龙', 0, 1, '28474', '17', '-293355271', null, '18664648613', '97;2;1', 16, 0, 0, '546 5664 ', '55');
insert into [main].[raw_contacts] values(4470, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4465, 3, 1, null, 0, 0, null, 0, '干爆', '干爆', 40, null, '0', 'GAN 干 BAO 爆', 'GAN 干 BAO 爆', 0, 1, '28474', '18', '1432590226', null, '18666353648', '97;2;1', 16, 0, 0, '426 226 ', '42');
insert into [main].[raw_contacts] values(4471, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4466, 3, 1, null, 0, 0, null, 0, '超', '超', 40, null, '0', 'CHAO 超', 'CHAO 超', 0, 1, '28474', '19', '903546842', null, '15999966982', '97;2;1', 16, 0, 0, '2426 ', '2');
insert into [main].[raw_contacts] values(4472, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4472, 3, 1, null, 0, 0, null, 0, '刘奥', '刘奥', 40, null, '0', 'LIU 刘 AO 奥', 'LIU 刘 AO 奥', 0, 1, '28474', '20', '317675674', null, '13570517578', '97;2;1', 16, 0, 0, '548 26 ', '52');
insert into [main].[raw_contacts] values(4473, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4480, 3, 1, null, 0, 0, null, 0, '忠池', '忠池', 40, null, '0', 'ZHONG 忠 CHI 池', 'ZHONG 忠 CHI 池', 0, 1, '28474', '21', '-1494139244', null, '13692345137', '97;2;1', 16, 0, 0, '94664 244 ', '92');
insert into [main].[raw_contacts] values(4474, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4481, 3, 1, null, 0, 0, null, 0, '华丽', '华丽', 40, null, '0', 'HUA 华 LI 丽', 'HUA 华 LI 丽', 0, 1, '28474', '22', '-645262838', null, '13542043355', '97;2;1', 16, 0, 0, '482 54 ', '45');
insert into [main].[raw_contacts] values(4475, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4482, 3, 1, null, 0, 0, null, 0, '学余', '学余', 40, null, '0', 'XUE 学 YU 余', 'XUE 学 YU 余', 0, 1, '28474', '23', '-779145145', null, '13768888483', '97;2;1', 16, 0, 0, '983 98 ', '99');
insert into [main].[raw_contacts] values(4476, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4474, 3, 1, null, 0, 0, null, 0, '周杰峰', '周杰峰', 40, null, '0', 'ZHOU 周 JIE 杰 FENG 峰', 'ZHOU 周 JIE 杰 FENG 峰', 0, 1, '28474', '24', '49711013', null, '13560097327', '97;2;1', 16, 0, 0, '9468 543 3364 ', '953');
insert into [main].[raw_contacts] values(4477, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4475, 3, 1, null, 0, 0, null, 0, '罗斌', '罗斌', 40, null, '0', 'LUO 罗 BIN 斌', 'LUO 罗 BIN 斌', 0, 1, '28474', '25', '-371439646', null, '18664831187', '97;2;1', 16, 0, 0, '586 246 ', '52');
insert into [main].[raw_contacts] values(4478, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4477, 3, 1, null, 0, 0, null, 0, '邝露工商', '邝露工商', 40, null, '0', 'KUANG 邝 LOU 露 GONG 工 SHANG 商', 'KUANG 邝 LOU 露 GONG 工 SHANG 商', 0, 1, '28474', '26', '-1289874158', null, '6222300051878992', '97;2;1', 16, 0, 0, '58264 568 4664 74264 ', '5547');
insert into [main].[raw_contacts] values(4479, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4479, 3, 1, null, 0, 0, null, 0, '东莞包', '东莞包', 40, null, '0', 'DONG 东 WAN 莞 BAO 包', 'DONG 东 WAN 莞 BAO 包', 0, 1, '28474', '27', '-370493293', null, '13512769352', '97;2;1', 16, 0, 0, '3664 926 226 ', '392');
insert into [main].[raw_contacts] values(4480, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4476, 3, 1, null, 0, 0, null, 0, '房东', '房东', 40, null, '0', 'FANG 房 DONG 东', 'FANG 房 DONG 东', 0, 1, '28474', '28', '1920849874', null, '13710893382', '97;2;1', 16, 0, 0, '3264 3664 ', '33');
insert into [main].[raw_contacts] values(4481, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4478, 3, 1, null, 0, 0, null, 0, '胖子', '胖子', 40, null, '0', 'PANG 胖 ZI 子', 'PANG 胖 ZI 子', 0, 1, '28474', '29', '-383179981', null, '18602067553', '97;2;1', 16, 0, 0, '7264 94 ', '79');
insert into [main].[raw_contacts] values(4482, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4473, 3, 1, null, 0, 0, null, 0, '鈡', '鈡', 40, null, '0', 'ZHONG 鈡', 'ZHONG 鈡', 0, 1, '28474', '30', '1166483425', null, '13662691800', '97;2;1', 16, 0, 0, '94664 ', '9');
insert into [main].[raw_contacts] values(4483, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4488, 3, 1, null, 0, 0, null, 0, '三姐', '三姐', 40, null, '0', 'SAN 三 JIE 姐', 'SAN 三 JIE 姐', 0, 1, '28474', '31', '-1932449538', null, '15976834754', '97;2;1', 16, 0, 0, '726 543 ', '75');
insert into [main].[raw_contacts] values(4484, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4491, 3, 1, null, 0, 0, null, 0, '以大', '以大', 40, null, '0', 'YI 以 DA 大', 'YI 以 DA 大', 0, 1, '28474', '32', '-425909899', null, '13660743401', '97;2;1', 16, 0, 0, '94 32 ', '93');
insert into [main].[raw_contacts] values(4485, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4492, 3, 1, null, 0, 0, null, 0, '银富', '银富', 40, null, '0', 'YIN 银 FU 富', 'YIN 银 FU 富', 0, 1, '28474', '33', '468993792', null, '13570504078', '97;2;1', 16, 0, 0, '946 38 ', '93');
insert into [main].[raw_contacts] values(4486, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4489, 3, 1, null, 0, 0, null, 0, '胡秋虹', '胡秋虹', 40, null, '0', 'HU 胡 QIU 秋 HONG 虹', 'HU 胡 QIU 秋 HONG 虹', 0, 1, '28474', '34', '1569204896', null, '15018419378', '97;2;1', 16, 0, 0, '48 748 4664 ', '474');
insert into [main].[raw_contacts] values(4487, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4490, 3, 1, null, 0, 0, null, 0, '左丹奴', '左丹奴', 40, null, '0', 'ZUO 左 DAN 丹 NU 奴', 'ZUO 左 DAN 丹 NU 奴', 0, 1, '28474', '35', '349164993', null, '13826402017', '97;2;1', 16, 0, 0, '986 326 68 ', '936');
insert into [main].[raw_contacts] values(4488, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4485, 3, 1, null, 0, 0, null, 0, '老周', '老周', 40, null, '0', 'LAO 老 ZHOU 周', 'LAO 老 ZHOU 周', 0, 1, '28474', '36', '-274705480', null, '18026219877', '97;2;1', 16, 0, 0, '526 9468 ', '59');
insert into [main].[raw_contacts] values(4489, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4486, 3, 1, null, 0, 0, null, 0, '杰峰', '杰峰', 40, null, '0', 'JIE 杰 FENG 峰', 'JIE 杰 FENG 峰', 0, 1, '28474', '37', '1470367965', null, '18659483179', '97;2;1', 16, 0, 0, '543 3364 ', '53');
insert into [main].[raw_contacts] values(4490, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4483, 3, 1, null, 0, 0, null, 0, 'J', 'J', 40, null, '0', 'J', 'J', 0, 1, '28474', '38', '-1287280456', null, '13531006041', '97;2;1', 16, 0, 0, '5 ', '5');
insert into [main].[raw_contacts] values(4491, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4484, 3, 1, null, 0, 0, null, 0, '本富', '本富', 40, null, '0', 'BEN 本 FU 富', 'BEN 本 FU 富', 0, 1, '28474', '39', '1270558041', null, '13556028962', '97;2;1', 16, 0, 0, '236 38 ', '23');
insert into [main].[raw_contacts] values(4492, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4487, 3, 1, null, 0, 0, null, 0, 'Rl汝健', 'Rl汝健', 40, null, '0', 'Rl RU 汝 JIAN 健', 'Rl RU 汝 JIAN 健', 0, 1, '28474', '40', '1391652895', null, '15640882825', '97;2;1', 16, 0, 0, '75 78 5426 ', '775');
insert into [main].[raw_contacts] values(4493, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4495, 3, 1, null, 0, 0, null, 0, '剑宁', '剑宁', 40, null, '0', 'JIAN 剑 NING 宁', 'JIAN 剑 NING 宁', 0, 1, '28474', '41', '-1431556789', null, '15920494210', '97;2;1', 16, 0, 0, '5426 6464 ', '56');
insert into [main].[raw_contacts] values(4494, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4493, 3, 1, null, 0, 0, null, 0, '其孔', '其孔', 40, null, '0', 'QI 其 KONG 孔', 'QI 其 KONG 孔', 0, 1, '28474', '42', '457617954', null, '15207592029', '97;2;1', 16, 0, 0, '74 5664 ', '75');
insert into [main].[raw_contacts] values(4495, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4494, 3, 1, null, 0, 0, null, 0, '柄良', '柄良', 40, null, '0', 'BING 柄 LIANG 良', 'BING 柄 LIANG 良', 0, 1, '28474', '43', '1436566616', null, '15012832001', '97;2;1', 16, 0, 0, '2464 54264 ', '25');
insert into [main].[raw_contacts] values(4496, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4499, 3, 1, null, 0, 0, null, 0, '明聪', '明聪', 40, null, '0', 'MING 明 CONG 聪', 'MING 明 CONG 聪', 0, 1, '28474', '44', '-736481945', null, '13450895062', '97;2;1', 16, 0, 0, '6464 2664 ', '62');
insert into [main].[raw_contacts] values(4497, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4498, 3, 1, null, 0, 0, null, 0, '陈特', '陈特', 40, null, '0', 'CHEN 陈 TE 特', 'CHEN 陈 TE 特', 0, 1, '28474', '45', '460887926', null, '13828221565', '97;2;1', 16, 0, 0, '2436 83 ', '28');
insert into [main].[raw_contacts] values(4498, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4497, 3, 1, null, 0, 0, null, 0, '忠池3', '忠池3', 40, null, '0', 'ZHONG 忠 CHI 池 3', 'ZHONG 忠 CHI 池 3', 0, 1, '28474', '46', '-384371656', null, '15876381404', '97;2;1', 16, 0, 0, '94664 244 3 ', '923');
insert into [main].[raw_contacts] values(4499, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4496, 3, 1, null, 0, 0, null, 0, '13751728138', '13751728138', 20, null, '0', '13751728138', '13751728138', 0, 1, '28474', '47', '-977271056', null, '13751728138', '97;2;1', 16, 0, 0, '13751728138', '1');
insert into [main].[raw_contacts] values(4500, 0, 'UIM', 'com.android.huawei.sim', null, 3, 1, 0, 4500, 3, 1, null, 0, 0, null, 0, '晓欣', '晓欣', 40, null, '0', 'XIAO 晓 XIN 欣', 'XIAO 晓 XIN 欣', 0, 1, '28474', '48', '1047931563', null, '13428879524', '97;2;1', 16, 0, 0, '9426 946 ', '99');


/* Drop table [main].[settings] */
drop table if exists [main].[settings];

/* Table structure [main].[settings] */
CREATE TABLE [main].[settings] (
  [account_name] STRING NOT NULL, 
  [account_type] STRING NOT NULL, 
  [ungrouped_visible] INTEGER NOT NULL DEFAULT 0, 
  [should_sync] INTEGER NOT NULL DEFAULT 1, 
  CONSTRAINT [sqlite_autoindex_settings_1] PRIMARY KEY ([account_name], [account_type]) ON CONFLICT REPLACE);

/* Data [main].[settings] */
insert into [main].[settings] values('Phone', 'com.android.huawei.phone', 1, 1);
insert into [main].[settings] values('UIM', 'com.android.huawei.sim', 1, 1);


/* Drop table [main].[sns_album] */
drop table if exists [main].[sns_album];

/* Table structure [main].[sns_album] */
CREATE TABLE [main].[sns_album] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [album_id] TEXT, 
  [sns_type] INTEGER, 
  [owner_id] TEXT, 
  [album_title] TEXT, 
  [time] LONG, 
  [album_size] LONG, 
  [user_contact_id] INTEGER, 
  [cover_pid_url] TEXT, 
  [album_privacy] TEXT, 
  [coverimage_content_id] INTEGER REFERENCES [Content_Manager]([_id]), 
  UNIQUE([album_id], [sns_type]) ON CONFLICT REPLACE);
CREATE UNIQUE INDEX [main].[sqlite_autoindex_sns_album_1] ON [sns_album] ([album_id], [sns_type]);

/* Data [main].[sns_album] */


/* Drop table [main].[sns_album_photos] */
drop table if exists [main].[sns_album_photos];

/* Table structure [main].[sns_album_photos] */
CREATE TABLE [main].[sns_album_photos] (
  [_id] INTEGER PRIMARY KEY ON CONFLICT IGNORE AUTOINCREMENT, 
  [uid] TEXT, 
  [sns_type] INTEGER, 
  [album_id] TEXT, 
  [pid] TEXT, 
  [url_type] INTEGER, 
  [url] TEXT, 
  [data] BLOB, 
  [size] LARGEINT, 
  [object_id] TEXT, 
  [timestamp] LARGEINT, 
  UNIQUE([album_id], [pid]) ON CONFLICT IGNORE);
CREATE UNIQUE INDEX [main].[sqlite_autoindex_sns_album_photos_1] ON [sns_album_photos] ([album_id], [pid]);

/* Data [main].[sns_album_photos] */


/* Drop table [main].[sns_comment] */
drop table if exists [main].[sns_comment];

/* Table structure [main].[sns_comment] */
CREATE TABLE [main].[sns_comment] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [comment_id] TEXT, 
  [sns_type] INTEGER, 
  [post_id] TEXT, 
  [comment_text] TEXT, 
  [time] LONG, 
  [authorid] BOOLEAN, 
  [author_name] TEXT, 
  [author_image_url] TEXT, 
  [authorimage_content_id] INTEGER REFERENCES [Content_Manager]([_id]), 
  UNIQUE([comment_id], [sns_type]) ON CONFLICT REPLACE);
CREATE UNIQUE INDEX [main].[sqlite_autoindex_sns_comment_1] ON [sns_comment] ([comment_id], [sns_type]);

/* Data [main].[sns_comment] */


/* Drop table [main].[SNS_Event] */
drop table if exists [main].[SNS_Event];

/* Table structure [main].[SNS_Event] */
CREATE TABLE [main].[SNS_Event] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [eventid] TEXT, 
  [sns] INTEGER REFERENCES [SNS_Profile]([sns]), 
  [snsfriendid] TEXT, 
  [time] LARGEINT NOT NULL DEFAULT 0, 
  [eventtype] INTEGER, 
  [abstract] TEXT, 
  [data] TEXT, 
  [more] INTEGER, 
  [groupid] TEXT, 
  [name] TEXT, 
  [eventtitle] TEXT, 
  [eventcaption] TEXT, 
  [eventurl] TEXT, 
  [profile_img_url] TEXT, 
  [latitude] TEXT, 
  [longitude] TEXT, 
  [place] TEXT, 
  [total_likes] INTEGER, 
  [total_comments] INTEGER, 
  [user_likes] INTEGER, 
  [user_contactID] LARGEINT, 
  [indexes] TEXT, 
  [created_from] TEXT, 
  [isfavourite] INTEGER, 
  [operation_allowed] TEXT, 
  UNIQUE([eventid], [sns], [snsfriendid]) ON CONFLICT REPLACE);
CREATE INDEX [main].[sns_id_type] ON [SNS_Event] ([sns], [snsfriendid]);
CREATE UNIQUE INDEX [main].[sqlite_autoindex_SNS_Event_1] ON [SNS_Event] ([eventid], [sns], [snsfriendid]);

/* Data [main].[SNS_Event] */


/* Drop table [main].[SNS_Event_Data] */
drop table if exists [main].[SNS_Event_Data];

/* Table structure [main].[SNS_Event_Data] */
CREATE TABLE [main].[SNS_Event_Data] (
  [_id] INTEGER PRIMARY KEY, 
  [event_id] INTEGER REFERENCES [SNS_Event]([_id]), 
  [data_type] TEXT, 
  [data_value] TEXT);

/* Data [main].[SNS_Event_Data] */


/* Drop table [main].[SNS_Notification] */
drop table if exists [main].[SNS_Notification];

/* Table structure [main].[SNS_Notification] */
CREATE TABLE [main].[SNS_Notification] (
  [_id] INTEGER PRIMARY KEY ON CONFLICT REPLACE AUTOINCREMENT, 
  [notification_id] TEXT, 
  [notification_type] INTEGER, 
  [sns] INTEGER, 
  [time] LARGEINT NOT NULL DEFAULT 0, 
  [data1] TEXT, 
  [data2] TEXT, 
  [data3] TEXT, 
  [sender_id] TEXT, 
  [sender_name] TEXT, 
  [data4] TEXT, 
  [data5] TEXT, 
  UNIQUE([notification_id], [sns]) ON CONFLICT REPLACE);
CREATE UNIQUE INDEX [main].[sqlite_autoindex_SNS_Notification_1] ON [SNS_Notification] ([notification_id], [sns]);

/* Data [main].[SNS_Notification] */


/* Drop table [main].[SNS_Profile] */
drop table if exists [main].[SNS_Profile];

/* Table structure [main].[SNS_Profile] */
CREATE TABLE [main].[SNS_Profile] (
  [sns] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [username] TEXT, 
  [password] TEXT, 
  [tagline] TEXT, 
  [lastrefreshtime] LARGEINT NOT NULL DEFAULT 0, 
  [image_content_ID] INTEGER, 
  [snsid] TEXT, 
  [sns_name] TEXT, 
  [sns_url] TEXT, 
  [sns_icon] BLOB, 
  [sns_icon_size] INTEGER, 
  [sns_icon_fmt] TEXT, 
  [snsinternaldata1] TEXT, 
  [snsinternaldata2] TEXT, 
  [last_event_time] LARGEINT NOT NULL DEFAULT 0, 
  [msg_count] INTEGER, 
  [user_location] TEXT, 
  [followers_count] INTEGER, 
  [following_count] INTEGER, 
  [message_id_sent] TEXT, 
  [message_id_received] TEXT, 
  [tagline_time] LARGEINT, 
  [screenname] TEXT, 
  [profile_image_url] TEXT);

/* Data [main].[SNS_Profile] */


/* Drop table [main].[status_updates] */
drop table if exists [main].[status_updates];

/* Table structure [main].[status_updates] */
CREATE TABLE [main].[status_updates] (
  [status_update_data_id] INTEGER PRIMARY KEY REFERENCES [data]([_id]), 
  [status] TEXT, 
  [status_ts] INTEGER, 
  [status_res_package] TEXT, 
  [status_label] INTEGER, 
  [status_icon] INTEGER, 
  [via_info] TEXT);

/* Data [main].[status_updates] */


/* Drop table [main].[temp_SNS_contacts] */
drop table if exists [main].[temp_SNS_contacts];

/* Table structure [main].[temp_SNS_contacts] */
CREATE TABLE [main].[temp_SNS_contacts] (
  [_id] INTEGER PRIMARY KEY AUTOINCREMENT, 
  [name] TEXT, 
  [birthday] TEXT, 
  [tagline] TEXT, 
  [userid] TEXT, 
  [imageurl] TEXT, 
  [timestamp] TEXT, 
  [city] TEXT, 
  [company] TEXT, 
  [mobile] TEXT, 
  [telephone] TEXT, 
  [email] TEXT, 
  [qq_id] TEXT, 
  [phonetic_display_name] TEXT, 
  [image_content_id] INTEGER REFERENCES [content_manager]([content_id]), 
  [screen_name] TEXT, 
  [puid] TEXT, 
  [sns] INTEGER, 
  [type] INTEGER, 
  [following] TEXT, 
  [via_info] TEXT);

/* Data [main].[temp_SNS_contacts] */


/* Drop table [main].[tmo_settings] */
drop table if exists [main].[tmo_settings];

/* Table structure [main].[tmo_settings] */
CREATE TABLE [main].[tmo_settings] (
  [_id] INTEGER PRIMARY KEY, 
  [account_name] TEXT, 
  [account_type] TEXT, 
  [key] TEXT NOT NULL, 
  [value] TEXT);

/* Data [main].[tmo_settings] */


/* Drop table [main].[v1_settings] */
drop table if exists [main].[v1_settings];

/* Table structure [main].[v1_settings] */
CREATE TABLE [main].[v1_settings] (
  [_id] INTEGER PRIMARY KEY, 
  [_sync_account] TEXT, 
  [_sync_account_type] TEXT, 
  [key] STRING NOT NULL, 
  [value] STRING);

/* Data [main].[v1_settings] */


/* Drop table [main].[_sync_state] */
drop table if exists [main].[_sync_state];

/* Table structure [main].[_sync_state] */
CREATE TABLE [main].[_sync_state] (
  [_id] INTEGER PRIMARY KEY, 
  [account_name] TEXT NOT NULL, 
  [account_type] TEXT NOT NULL, 
  [data] TEXT, 
  UNIQUE([account_name], [account_type]));
CREATE UNIQUE INDEX [main].[sqlite_autoindex__sync_state_1] ON [_sync_state] ([account_name], [account_type]);

/* Data [main].[_sync_state] */


/* Drop table [main].[_sync_state_metadata] */
drop table if exists [main].[_sync_state_metadata];

/* Table structure [main].[_sync_state_metadata] */
CREATE TABLE [main].[_sync_state_metadata] (
  [version] INTEGER);

/* Data [main].[_sync_state_metadata] */
insert into [main].[_sync_state_metadata] values(1);


/* Drop view [main].[contact_entities_view] */
drop view if exists [main].[contact_entities_view];

/* View [main].[contact_entities_view] */
CREATE VIEW [main].[contact_entities_view] AS 
SELECT raw_contacts.account_name AS account_name,raw_contacts.account_type AS account_type,raw_contacts.sourceid AS sourceid,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.deleted AS deleted,raw_contacts.name_verified AS name_verified,package AS res_package,contact_id, raw_contacts.sync1 AS sync1, raw_contacts.sync2 AS sync2, raw_contacts.sync3 AS sync3, raw_contacts.sync4 AS sync4, mimetype, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data_sync1, data_sync2, data_sync3, data_sync4, raw_contacts._id AS _id, is_primary, is_super_primary, data_version, data._id AS data_id,raw_contacts.starred AS starred,raw_contacts.is_restricted AS is_restricted,groups.sourceid AS group_sourceid, groups.title AS title, groups.account_type AS account_type FROM raw_contacts LEFT OUTER JOIN data ON (data.raw_contact_id=raw_contacts._id) LEFT OUTER JOIN packages ON (data.package_id=packages._id) LEFT OUTER JOIN mimetypes ON (data.mimetype_id=mimetypes._id) LEFT OUTER JOIN groups ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership' AND groups._id=data.data1);

/* Drop view [main].[contact_entities_view_restricted] */
drop view if exists [main].[contact_entities_view_restricted];

/* View [main].[contact_entities_view_restricted] */
CREATE VIEW [main].[contact_entities_view_restricted] AS 
SELECT raw_contacts.account_name AS account_name,raw_contacts.account_type AS account_type,raw_contacts.sourceid AS sourceid,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.deleted AS deleted,raw_contacts.name_verified AS name_verified,package AS res_package,contact_id, raw_contacts.sync1 AS sync1, raw_contacts.sync2 AS sync2, raw_contacts.sync3 AS sync3, raw_contacts.sync4 AS sync4, mimetype, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data_sync1, data_sync2, data_sync3, data_sync4, raw_contacts._id AS _id, is_primary, is_super_primary, data_version, data._id AS data_id,raw_contacts.starred AS starred,raw_contacts.is_restricted AS is_restricted,groups.sourceid AS group_sourceid, groups.title AS title, groups.account_type AS account_type FROM raw_contacts LEFT OUTER JOIN data ON (data.raw_contact_id=raw_contacts._id) LEFT OUTER JOIN packages ON (data.package_id=packages._id) LEFT OUTER JOIN mimetypes ON (data.mimetype_id=mimetypes._id) LEFT OUTER JOIN groups ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership' AND groups._id=data.data1) WHERE is_restricted=0;

/* Drop view [main].[view_contacts] */
drop view if exists [main].[view_contacts];

/* View [main].[view_contacts] */
CREATE VIEW [main].[view_contacts] AS 
SELECT contacts._id AS _id,contacts.custom_ringtone AS custom_ringtone, name_raw_contact.display_name_source AS display_name_source, name_raw_contact.display_name AS display_name, name_raw_contact.display_name_alt AS display_name_alt, name_raw_contact.phonetic_name AS phonetic_name, name_raw_contact.phonetic_name_style AS phonetic_name_style, name_raw_contact.sort_key AS sort_key, name_raw_contact.sort_key_alt AS sort_key_alt, name_raw_contact.contact_in_visible_group AS in_visible_group, has_phone_number, lookup, photo_id, contacts.secondary_display_name AS secondary_display_name, contacts.secondary_display_name_source AS secondary_display_name_source, contacts.accounts AS accounts, contacts.tmo_tariff_icon_id AS tmo_tariff_icon_id, contacts.kaixin_icon_id AS kaixin_icon_id, contacts.last_time_contacted AS last_time_contacted, contacts.send_to_voicemail AS send_to_voicemail, contacts.starred AS starred, contacts.times_contacted AS times_contacted, status_update_id FROM contacts JOIN raw_contacts AS name_raw_contact ON(name_raw_contact_id=name_raw_contact._id);

/* Drop view [main].[view_contacts_restricted] */
drop view if exists [main].[view_contacts_restricted];

/* View [main].[view_contacts_restricted] */
CREATE VIEW [main].[view_contacts_restricted] AS 
SELECT contacts._id AS _id,contacts.custom_ringtone AS custom_ringtone, name_raw_contact.display_name_source AS display_name_source, name_raw_contact.display_name AS display_name, name_raw_contact.display_name_alt AS display_name_alt, name_raw_contact.phonetic_name AS phonetic_name, name_raw_contact.phonetic_name_style AS phonetic_name_style, name_raw_contact.sort_key AS sort_key, name_raw_contact.sort_key_alt AS sort_key_alt, name_raw_contact.contact_in_visible_group AS in_visible_group, has_phone_number, lookup, photo_id, contacts.secondary_display_name AS secondary_display_name, contacts.secondary_display_name_source AS secondary_display_name_source, contacts.accounts AS accounts, contacts.tmo_tariff_icon_id AS tmo_tariff_icon_id, contacts.kaixin_icon_id AS kaixin_icon_id, contacts.last_time_contacted AS last_time_contacted, contacts.send_to_voicemail AS send_to_voicemail, contacts.starred AS starred, contacts.times_contacted AS times_contacted, status_update_id FROM contacts JOIN raw_contacts AS name_raw_contact ON(name_raw_contact_id=name_raw_contact._id) WHERE single_is_restricted=0;

/* Drop view [main].[view_data] */
drop view if exists [main].[view_data];

/* View [main].[view_data] */
CREATE VIEW [main].[view_data] AS 
SELECT data._id AS _id,raw_contact_id, raw_contacts.contact_id AS contact_id, raw_contacts.account_name AS account_name,raw_contacts.account_type AS account_type,raw_contacts.sourceid AS sourceid,raw_contacts.name_verified AS name_verified,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4, is_primary, is_super_primary, data_version, package AS res_package,mimetype AS mimetype, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data_sync1, data_sync2, data_sync3, data_sync4, contacts.custom_ringtone AS custom_ringtone,contacts.send_to_voicemail AS send_to_voicemail,contacts.last_time_contacted AS last_time_contacted,contacts.times_contacted AS times_contacted,contacts.starred AS starred, name_raw_contact.display_name_source AS display_name_source, name_raw_contact.display_name AS display_name, name_raw_contact.display_name_alt AS display_name_alt, name_raw_contact.phonetic_name AS phonetic_name, name_raw_contact.phonetic_name_style AS phonetic_name_style, name_raw_contact.sort_key AS sort_key, name_raw_contact.sort_key_alt AS sort_key_alt, name_raw_contact.contact_in_visible_group AS in_visible_group, contacts.secondary_display_name AS secondary_display_name, contacts.secondary_display_name_source AS secondary_display_name_source, contacts.tmo_tariff_icon_id AS tmo_tariff_icon_id, contacts.accounts AS accounts, name_raw_contact.dialer_map AS dialer_map, name_raw_contact.normalized_dialer_map AS normalized_dialer_map, lookup, photo_id, name_raw_contact_id,status_update_id, groups.sourceid AS group_sourceid FROM data JOIN mimetypes ON (data.mimetype_id=mimetypes._id) JOIN raw_contacts ON (data.raw_contact_id=raw_contacts._id) JOIN contacts ON (raw_contacts.contact_id=contacts._id) JOIN raw_contacts AS name_raw_contact ON(name_raw_contact_id=name_raw_contact._id) LEFT OUTER JOIN packages ON (data.package_id=packages._id) LEFT OUTER JOIN groups ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership' AND groups._id=data.data1);

/* Drop view [main].[view_data_groups_extension] */
drop view if exists [main].[view_data_groups_extension];

/* View [main].[view_data_groups_extension] */
CREATE VIEW [main].[view_data_groups_extension] AS 
SELECT data._id AS _id,is_primary, is_super_primary, data_version, raw_contact_id, mimetype AS mimetype, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data_sync1, data_sync2, data_sync3, data_sync4,account_name,account_type,sourceid,dirty,title,title_res,notes,deleted,system_id,group_visible,should_sync,sync1,sync2,sync3,sync4,version,package AS res_package,tmo_group_id,type,priority,grp_ringtone,grp_order,grp_icon,grp_icon_size,grp_icon_fmt,ti_icon,ti_icon_size,ti_icon_fmt,grp_size FROM data JOIN mimetypes ON (data.mimetype_id = mimetypes._id) LEFT OUTER JOIN packages ON (data.package_id = packages._id) LEFT OUTER JOIN groups   ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership'       AND groups._id = data.data1) LEFT OUTER JOIN group_extension   ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership'       AND group_extension.group_ref_id = data.data1);

/* Drop view [main].[view_data_restricted] */
drop view if exists [main].[view_data_restricted];

/* View [main].[view_data_restricted] */
CREATE VIEW [main].[view_data_restricted] AS 
SELECT data._id AS _id,raw_contact_id, raw_contacts.contact_id AS contact_id, raw_contacts.account_name AS account_name,raw_contacts.account_type AS account_type,raw_contacts.sourceid AS sourceid,raw_contacts.name_verified AS name_verified,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4, is_primary, is_super_primary, data_version, package AS res_package,mimetype AS mimetype, data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, data14, data15, data_sync1, data_sync2, data_sync3, data_sync4, contacts.custom_ringtone AS custom_ringtone,contacts.send_to_voicemail AS send_to_voicemail,contacts.last_time_contacted AS last_time_contacted,contacts.times_contacted AS times_contacted,contacts.starred AS starred, name_raw_contact.display_name_source AS display_name_source, name_raw_contact.display_name AS display_name, name_raw_contact.display_name_alt AS display_name_alt, name_raw_contact.phonetic_name AS phonetic_name, name_raw_contact.phonetic_name_style AS phonetic_name_style, name_raw_contact.sort_key AS sort_key, name_raw_contact.sort_key_alt AS sort_key_alt, name_raw_contact.contact_in_visible_group AS in_visible_group, contacts.secondary_display_name AS secondary_display_name, contacts.secondary_display_name_source AS secondary_display_name_source, contacts.tmo_tariff_icon_id AS tmo_tariff_icon_id, contacts.accounts AS accounts, name_raw_contact.dialer_map AS dialer_map, name_raw_contact.normalized_dialer_map AS normalized_dialer_map, lookup, photo_id, name_raw_contact_id,status_update_id, groups.sourceid AS group_sourceid FROM data JOIN mimetypes ON (data.mimetype_id=mimetypes._id) JOIN raw_contacts ON (data.raw_contact_id=raw_contacts._id) JOIN contacts ON (raw_contacts.contact_id=contacts._id) JOIN raw_contacts AS name_raw_contact ON(name_raw_contact_id=name_raw_contact._id) LEFT OUTER JOIN packages ON (data.package_id=packages._id) LEFT OUTER JOIN groups ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership' AND groups._id=data.data1) WHERE raw_contacts.is_restricted=0;

/* Drop view [main].[view_groups] */
drop view if exists [main].[view_groups];

/* View [main].[view_groups] */
CREATE VIEW [main].[view_groups] AS 
SELECT groups._id AS _id,account_name,account_type,sourceid,version,dirty,title,title_res,notes,system_id,deleted,group_visible,should_sync,sync1,sync2,sync3,sync4,package AS res_package FROM groups LEFT OUTER JOIN packages ON (groups.package_id = packages._id);

/* Drop view [main].[view_groups_extension] */
drop view if exists [main].[view_groups_extension];

/* View [main].[view_groups_extension] */
CREATE VIEW [main].[view_groups_extension] AS 
SELECT groups._id AS _id,account_name,account_type,sourceid,dirty,title,title_res,notes,deleted,system_id,group_visible,should_sync,sync1,sync2,sync3,sync4,version,package AS res_package,tmo_group_id,type,priority,grp_ringtone,grp_order,grp_icon,grp_icon_size,grp_icon_fmt,ti_icon,ti_icon_size,ti_icon_fmt,grp_size FROM groups LEFT OUTER JOIN group_extension ON (group_extension.group_ref_id = groups._id)LEFT OUTER JOIN packages ON (groups.package_id = packages._id);

/* Drop view [main].[view_raw_contacts] */
drop view if exists [main].[view_raw_contacts];

/* View [main].[view_raw_contacts] */
CREATE VIEW [main].[view_raw_contacts] AS 
SELECT raw_contacts._id AS _id,contact_id, aggregation_mode, deleted, display_name_source, display_name, display_name_alt, phonetic_name, phonetic_name_style, sort_key, sort_key_alt, accounts, secondary_display_name, secondary_display_name_source, custom_ringtone,send_to_voicemail,last_time_contacted,times_contacted,starred, raw_contacts.account_name AS account_name,raw_contacts.account_type AS account_type,raw_contacts.sourceid AS sourceid,raw_contacts.name_verified AS name_verified,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4 FROM raw_contacts;

/* Drop view [main].[view_raw_contacts_restricted] */
drop view if exists [main].[view_raw_contacts_restricted];

/* View [main].[view_raw_contacts_restricted] */
CREATE VIEW [main].[view_raw_contacts_restricted] AS 
SELECT raw_contacts._id AS _id,contact_id, aggregation_mode, deleted, display_name_source, display_name, display_name_alt, phonetic_name, phonetic_name_style, sort_key, sort_key_alt, accounts, secondary_display_name, secondary_display_name_source, custom_ringtone,send_to_voicemail,last_time_contacted,times_contacted,starred, raw_contacts.account_name AS account_name,raw_contacts.account_type AS account_type,raw_contacts.sourceid AS sourceid,raw_contacts.name_verified AS name_verified,raw_contacts.version AS version,raw_contacts.dirty AS dirty,raw_contacts.sync1 AS sync1,raw_contacts.sync2 AS sync2,raw_contacts.sync3 AS sync3,raw_contacts.sync4 AS sync4 FROM raw_contacts WHERE is_restricted=0;

/* Drop view [main].[view_v1_contact_methods] */
drop view if exists [main].[view_v1_contact_methods];

/* View [main].[view_v1_contact_methods] */
CREATE VIEW [main].[view_v1_contact_methods] AS 
SELECT data._id AS _id, data.raw_contact_id AS person, CAST ((CASE WHEN mimetype='vnd.android.cursor.item/email_v2' THEN 1 ELSE (CASE WHEN mimetype='vnd.android.cursor.item/im' THEN 3 ELSE (CASE WHEN mimetype='vnd.android.cursor.item/postal-address_v2' THEN 2 ELSE NULL END) END) END) AS INTEGER) AS kind, data.is_primary AS isprimary, data.data2 AS type, (CASE WHEN mimetype='vnd.android.cursor.item/im' THEN (CASE WHEN data.data5=-1 THEN 'custom:'||data.data6 ELSE 'pre:'||data.data5 END) ELSE data.data1 END) AS data, data.data3 AS label, data.data14 AS aux_data, name.data1 AS name, raw_contacts.display_name AS display_name, trim(trim(ifnull(name.data7,' ')||' '||ifnull(name.data8,' '))||' '||ifnull(name.data9,' '))  AS phonetic_name , note.data1 AS notes, account_name, account_type, raw_contacts.times_contacted AS times_contacted, raw_contacts.last_time_contacted AS last_time_contacted, raw_contacts.custom_ringtone AS custom_ringtone, raw_contacts.send_to_voicemail AS send_to_voicemail, raw_contacts.starred AS starred, organization._id AS primary_organization, email._id AS primary_email, phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type, phone.data3 AS label, phone.data4 AS number_key FROM data JOIN mimetypes ON (mimetypes._id = data.mimetype_id) JOIN raw_contacts ON (raw_contacts._id = data.raw_contact_id) LEFT OUTER JOIN data name ON (raw_contacts._id = name.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = name.mimetype_id)='vnd.android.cursor.item/name') LEFT OUTER JOIN data organization ON (raw_contacts._id = organization.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = organization.mimetype_id)='vnd.android.cursor.item/organization' AND organization.is_primary) LEFT OUTER JOIN data email ON (raw_contacts._id = email.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = email.mimetype_id)='vnd.android.cursor.item/email_v2' AND email.is_primary) LEFT OUTER JOIN data note ON (raw_contacts._id = note.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = note.mimetype_id)='vnd.android.cursor.item/note') LEFT OUTER JOIN data phone ON (raw_contacts._id = phone.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = phone.mimetype_id)='vnd.android.cursor.item/phone_v2' AND phone.is_primary) WHERE kind IS NOT NULL AND raw_contacts.deleted=0 AND is_restricted=0;

/* Drop view [main].[view_v1_extensions] */
drop view if exists [main].[view_v1_extensions];

/* View [main].[view_v1_extensions] */
CREATE VIEW [main].[view_v1_extensions] AS 
SELECT data._id AS _id, data.raw_contact_id AS person, account_name, account_type, data1 AS name, data2 AS value FROM data JOIN mimetypes ON (data.mimetype_id = mimetypes._id) JOIN raw_contacts ON (data.raw_contact_id = raw_contacts._id) WHERE mimetypes.mimetype='vnd.android.cursor.item/contact_extensions' AND raw_contacts.deleted=0 AND is_restricted=0;

/* Drop view [main].[view_v1_groups] */
drop view if exists [main].[view_v1_groups];

/* View [main].[view_v1_groups] */
CREATE VIEW [main].[view_v1_groups] AS 
SELECT groups._id AS _id, account_name, account_type, title AS name, notes AS notes , system_id AS system_id FROM groups;

/* Drop view [main].[view_v1_group_membership] */
drop view if exists [main].[view_v1_group_membership];

/* View [main].[view_v1_group_membership] */
CREATE VIEW [main].[view_v1_group_membership] AS 
SELECT data._id AS _id, data.raw_contact_id AS person, raw_contacts.account_name AS account_name, raw_contacts.account_type AS account_type, data1 AS group_id, title AS name, notes AS notes, system_id AS system_id, groups.sourceid AS group_sync_id, groups.account_name AS group_sync_account, groups.account_type AS group_sync_account_type FROM data JOIN mimetypes ON (data.mimetype_id = mimetypes._id) JOIN raw_contacts ON (data.raw_contact_id = raw_contacts._id) LEFT OUTER JOIN packages ON (data.package_id = packages._id) LEFT OUTER JOIN groups   ON (mimetypes.mimetype='vnd.android.cursor.item/group_membership'       AND groups._id = data.data1)  WHERE mimetypes.mimetype='vnd.android.cursor.item/group_membership' AND raw_contacts.deleted=0;

/* Drop view [main].[view_v1_organizations] */
drop view if exists [main].[view_v1_organizations];

/* View [main].[view_v1_organizations] */
CREATE VIEW [main].[view_v1_organizations] AS 
SELECT data._id AS _id, raw_contact_id AS person, is_primary AS isprimary, account_name, account_type, data1 AS company, data2 AS type, data3 AS label, data4 AS title FROM data JOIN mimetypes ON (data.mimetype_id = mimetypes._id) JOIN raw_contacts ON (data.raw_contact_id = raw_contacts._id) WHERE mimetypes.mimetype='vnd.android.cursor.item/organization' AND raw_contacts.deleted=0 AND is_restricted=0;

/* Drop view [main].[view_v1_people] */
drop view if exists [main].[view_v1_people];

/* View [main].[view_v1_people] */
CREATE VIEW [main].[view_v1_people] AS 
SELECT raw_contacts._id AS _id, name.data1 AS name, raw_contacts.display_name AS display_name, trim(trim(ifnull(name.data7,' ')||' '||ifnull(name.data8,' '))||' '||ifnull(name.data9,' '))  AS phonetic_name , note.data1 AS notes, account_name, account_type, raw_contacts.times_contacted AS times_contacted, raw_contacts.last_time_contacted AS last_time_contacted, raw_contacts.custom_ringtone AS custom_ringtone, raw_contacts.send_to_voicemail AS send_to_voicemail, raw_contacts.starred AS starred, organization._id AS primary_organization, email._id AS primary_email, phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type, phone.data3 AS label, phone.data4 AS number_key FROM raw_contacts LEFT OUTER JOIN data name ON (raw_contacts._id = name.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = name.mimetype_id)='vnd.android.cursor.item/name') LEFT OUTER JOIN data organization ON (raw_contacts._id = organization.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = organization.mimetype_id)='vnd.android.cursor.item/organization' AND organization.is_primary) LEFT OUTER JOIN data email ON (raw_contacts._id = email.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = email.mimetype_id)='vnd.android.cursor.item/email_v2' AND email.is_primary) LEFT OUTER JOIN data note ON (raw_contacts._id = note.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = note.mimetype_id)='vnd.android.cursor.item/note') LEFT OUTER JOIN data phone ON (raw_contacts._id = phone.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = phone.mimetype_id)='vnd.android.cursor.item/phone_v2' AND phone.is_primary) WHERE raw_contacts.deleted=0 AND is_restricted=0;

/* Drop view [main].[view_v1_phones] */
drop view if exists [main].[view_v1_phones];

/* View [main].[view_v1_phones] */
CREATE VIEW [main].[view_v1_phones] AS 
SELECT data._id AS _id, data.raw_contact_id AS person, data.is_primary AS isprimary, data.data1 AS number, data.data2 AS type, data.data3 AS label, phone_lookup.normalized_number AS number_key, name.data1 AS name, raw_contacts.display_name AS display_name, trim(trim(ifnull(name.data7,' ')||' '||ifnull(name.data8,' '))||' '||ifnull(name.data9,' '))  AS phonetic_name , note.data1 AS notes, account_name, account_type, raw_contacts.times_contacted AS times_contacted, raw_contacts.last_time_contacted AS last_time_contacted, raw_contacts.custom_ringtone AS custom_ringtone, raw_contacts.send_to_voicemail AS send_to_voicemail, raw_contacts.starred AS starred, organization._id AS primary_organization, email._id AS primary_email, phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type, phone.data3 AS label, phone.data4 AS number_key FROM data JOIN phone_lookup ON (data._id = phone_lookup.data_id) JOIN mimetypes ON (mimetypes._id = data.mimetype_id) JOIN raw_contacts ON (raw_contacts._id = data.raw_contact_id) LEFT OUTER JOIN data name ON (raw_contacts._id = name.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = name.mimetype_id)='vnd.android.cursor.item/name') LEFT OUTER JOIN data organization ON (raw_contacts._id = organization.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = organization.mimetype_id)='vnd.android.cursor.item/organization' AND organization.is_primary) LEFT OUTER JOIN data email ON (raw_contacts._id = email.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = email.mimetype_id)='vnd.android.cursor.item/email_v2' AND email.is_primary) LEFT OUTER JOIN data note ON (raw_contacts._id = note.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = note.mimetype_id)='vnd.android.cursor.item/note') LEFT OUTER JOIN data phone ON (raw_contacts._id = phone.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = phone.mimetype_id)='vnd.android.cursor.item/phone_v2' AND phone.is_primary) WHERE mimetypes.mimetype='vnd.android.cursor.item/phone_v2' AND raw_contacts.deleted=0 AND is_restricted=0;

/* Drop view [main].[view_v1_photos] */
drop view if exists [main].[view_v1_photos];

/* View [main].[view_v1_photos] */
CREATE VIEW [main].[view_v1_photos] AS 
SELECT data._id AS _id, data.raw_contact_id AS person, account_name, account_type, data.data15 AS data, legacy_photo.data4 AS exists_on_server, legacy_photo.data3 AS download_required, legacy_photo.data2 AS local_version, legacy_photo.data5 AS sync_error FROM data JOIN mimetypes ON (mimetypes._id = data.mimetype_id) JOIN raw_contacts ON (raw_contacts._id = data.raw_contact_id) LEFT OUTER JOIN data name ON (raw_contacts._id = name.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = name.mimetype_id)='vnd.android.cursor.item/name') LEFT OUTER JOIN data organization ON (raw_contacts._id = organization.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = organization.mimetype_id)='vnd.android.cursor.item/organization' AND organization.is_primary) LEFT OUTER JOIN data email ON (raw_contacts._id = email.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = email.mimetype_id)='vnd.android.cursor.item/email_v2' AND email.is_primary) LEFT OUTER JOIN data note ON (raw_contacts._id = note.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = note.mimetype_id)='vnd.android.cursor.item/note') LEFT OUTER JOIN data phone ON (raw_contacts._id = phone.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = phone.mimetype_id)='vnd.android.cursor.item/phone_v2' AND phone.is_primary) LEFT OUTER JOIN data legacy_photo ON (raw_contacts._id = legacy_photo.raw_contact_id AND (SELECT mimetype FROM mimetypes WHERE mimetypes._id = legacy_photo.mimetype_id)='vnd.android.cursor.item/photo_v1_extras' AND data._id = legacy_photo.data1) WHERE mimetypes.mimetype='vnd.android.cursor.item/photo' AND raw_contacts.deleted=0 AND is_restricted=0;

/* Triggers for table [main].[data] */

CREATE TRIGGER [main].[data_updated]
AFTER UPDATE
ON [data]
BEGIN    UPDATE data     SET data_version=OLD.data_version+1      WHERE _id=OLD._id;   UPDATE raw_contacts     SET version=version+1      WHERE _id=OLD.raw_contact_id; END;
CREATE TRIGGER [main].[data_deleted]
BEFORE DELETE
ON [data]
BEGIN    UPDATE raw_contacts     SET version=version+1      WHERE _id=OLD.raw_contact_id;   DELETE FROM phone_lookup     WHERE data_id=OLD._id;   DELETE FROM status_updates     WHERE status_update_data_id=OLD._id;   DELETE FROM name_lookup     WHERE data_id=OLD._id; END;
CREATE TRIGGER [main].[data_new_groupmembership]
AFTER INSERT
ON [data]
BEGIN UPDATE group_extension SET grp_size = grp_size+1 WHERE NEW.mimetype_id IN ( SELECT _id FROM mimetypes WHERE mimetype = 'vnd.android.cursor.item/group_membership' ) AND group_ref_id = NEW.data1;END;
CREATE TRIGGER [main].[data_remove_groupmembership]
AFTER DELETE
ON [data]
BEGIN  UPDATE group_extension SET grp_size = grp_size-1 WHERE OLD.mimetype_id IN ( SELECT _id FROM mimetypes WHERE mimetype = 'vnd.android.cursor.item/group_membership' ) AND group_ref_id = OLD.data1 AND ((SELECT deleted FROM raw_contacts WHERE _id = OLD.raw_contact_id) != 1 );END;

/* Triggers for table [main].[groups] */

CREATE TRIGGER [main].[groups_updated1]
AFTER UPDATE
ON [groups]
BEGIN    UPDATE groups     SET version=OLD.version+1     WHERE _id=OLD._id; END;
CREATE TRIGGER [main].[group_extension_new_group]
AFTER INSERT
ON [groups]
BEGIN INSERT INTO group_extension ( group_ref_id ) VALUES ( NEW._id);END;
CREATE TRIGGER [main].[group_extension_deleted_group]
AFTER DELETE
ON [groups]
BEGIN DELETE FROM group_extension WHERE group_ref_id= old._id;END;
CREATE TRIGGER [main].[tmo_settings_remove_homescreen]
AFTER DELETE
ON [groups]
BEGIN  UPDATE tmo_settings SET value = -1  WHERE _id  IN ( SELECT _id FROM tmo_settings WHERE key='home_screen_grp_id' AND value=OLD._id); END;
CREATE TRIGGER [main].[tmo_settings_remove_homescreen1]
AFTER UPDATE OF [deleted]
ON [groups]
BEGIN  UPDATE tmo_settings SET value = -1  WHERE _id  IN ( SELECT _id FROM tmo_settings WHERE key='home_screen_grp_id' AND value=OLD._id) AND NEW.deleted=1 AND OLD.deleted!=1; END;

/* Triggers for table [main].[raw_contacts] */

CREATE TRIGGER [main].[raw_contacts_deleted]
BEFORE DELETE
ON [raw_contacts]
BEGIN    DELETE FROM data     WHERE raw_contact_id=OLD._id;   DELETE FROM agg_exceptions     WHERE raw_contact_id1=OLD._id        OR raw_contact_id2=OLD._id;   DELETE FROM contacts     WHERE _id=OLD.contact_id       AND (SELECT COUNT(*) FROM raw_contacts            WHERE contact_id=OLD.contact_id           )=1; END;
CREATE TRIGGER [main].[raw_contacts_marked_deleted]
AFTER UPDATE
ON [raw_contacts]
BEGIN    UPDATE raw_contacts     SET version=OLD.version+1      WHERE _id=OLD._id       AND NEW.deleted!= OLD.deleted; END;
CREATE TRIGGER [main].[data_remove_groupmembership1]
AFTER UPDATE OF [deleted]
ON [raw_contacts]
BEGIN  UPDATE group_extension SET grp_size = grp_size-1 WHERE _id IN (SELECT DISTINCT data1 FROM data WHERE mimetype_id IN ( SELECT _id FROM mimetypes WHERE mimetype = 'vnd.android.cursor.item/group_membership' ) AND raw_contact_id= NEW._id) AND NEW.deleted=1 AND OLD.deleted!=1;END;
CREATE TRIGGER [main].[data_add_groupmembership]
AFTER UPDATE OF [deleted]
ON [raw_contacts]
BEGIN  UPDATE group_extension SET grp_size = grp_size+1 WHERE _id IN (SELECT DISTINCT data1 FROM data WHERE mimetype_id IN ( SELECT _id FROM mimetypes WHERE mimetype = 'vnd.android.cursor.item/group_membership' ) AND raw_contact_id= NEW._id) AND NEW.deleted=0 AND OLD.deleted!=0;END;

/* Triggers for table [main].[SNS_Event] */

CREATE TRIGGER [main].[sns_comment_remove_comment]
AFTER DELETE
ON [SNS_Event]
BEGIN DELETE FROM sns_comment WHERE post_id= OLD.eventid;END;
CREATE TRIGGER [main].[SNS_Event_Data_event_data_cleanup]
AFTER DELETE
ON [SNS_Event]
BEGIN DELETE FROM SNS_Event_Data WHERE event_id= old._id;END;

/* Triggers for table [main].[SNS_Event_Data] */

CREATE TRIGGER [main].[content_manager_event_data_image_cleanup1]
AFTER DELETE
ON [SNS_Event_Data]
BEGIN DELETE FROM content_manager WHERE content_url= old.data_value AND (old.data_type= 'media_url_1' OR old.data_type= 'media_url_2' OR old.data_type= 'media_url_3');END;

/* Triggers for table [main].[SNS_Profile] */

CREATE TRIGGER [main].[People_SNS_Photos_snsprofile_delete_image_cleanup]
AFTER DELETE
ON [SNS_Profile]
BEGIN DELETE FROM People_SNS_Photos WHERE imageid= old.image_content_ID;END;
CREATE TRIGGER [main].[People_SNS_Photos_snsprofile_update_image_cleanup]
UPDATE OF [image_content_ID]
ON [SNS_Profile]
BEGIN DELETE FROM People_SNS_Photos WHERE imageid= old.image_content_ID;END;
CREATE TRIGGER [main].[content_manager_snsprofile_delete_image_cleanup]
AFTER DELETE
ON [SNS_Profile]
BEGIN DELETE FROM content_manager WHERE content_id= old.image_content_ID;END;
CREATE TRIGGER [main].[content_manager_snsprofile_update_image_cleanup]
UPDATE OF [image_content_ID]
ON [SNS_Profile]
BEGIN DELETE FROM content_manager WHERE content_id= old.image_content_ID;END;

/* Triggers for table [main].[temp_SNS_contacts] */

CREATE TRIGGER [main].[content_manager_tempsns_delete_image_cleanup]
AFTER DELETE
ON [temp_SNS_contacts]
BEGIN DELETE FROM content_manager WHERE content_id=old.image_content_id;END;

/* Commit Transaction */
commit transaction;

/* Enable Foreign Keys */
pragma foreign_keys = on;

 

0
0
分享到:
评论

相关推荐

    输入汉字得到拼音工程及查看contacts2.db软件,教程

    这个“输入汉字得到拼音工程及查看contacts2.db软件,教程”提供了一个具体的解决方案,主要涵盖了两个核心知识点:Android平台上的汉字转拼音技术和SQLite数据库的使用,特别是针对contacts2.db数据库的查询。...

    联系人(com.android.contacts).bak

    联系人(com.android.contacts).bak

    Android5.0 Contacts联系人源码

    主要的数据库表包括`contacts`、`raw_contacts`、`data`等,它们通过独特的ID关联,构建出复杂的联系人数据模型。`contacts`表存储联系人的元信息,如姓名、显示名;`raw_contacts`表包含与特定数据源相关的联系人...

    Android代码-Contacts

    Contacts.initialize(this); } Get All Contacts List contacts = Contacts.getQuery().find(); Get Contacts with phone numbers only Query q = Contacts.getQuery(); q.hasPhoneNumber(); List contacts = q....

    Android_联系人数据库介绍以及对联系人的基本操作

    /data/data/com.android.providers.contacts/databases.contacts2.db 数据库中重要的几张表 1、contacts表 该表保存了所有的手机测联系人,每个联系人占一行,该表保存了联系人的ContactID、联系次数、最后一次...

    安卓Android源码——Contacts.rar

    在Contacts源码中,我们可以看到如何创建和操作联系人表,以及如何使用ContentProvider来封装数据库操作,提供统一的数据访问接口。 ContentProvider是Android系统中数据共享的关键组件,它使得不同的应用能够安全...

    Android应用源码之Contacts.zip项目安卓应用源码下载

    Android应用源码之Contacts.zip项目安卓应用源码下载Android应用源码之Contacts.zip项目安卓应用源码下载 1.适合学生毕业设计研究参考 2.适合个人学习研究参考 3.适合公司开发项目技术参考

    Android 系统应用 Contacts 源码

    ContentProvider类`com.android.providers.contacts.ContactsProvider2`是Contacts应用的核心。它实现了SQLite数据库操作,用于存储、读取和更新联系人信息。在源码中,我们可以看到如何使用SQLiteOpenHelper来创建...

    Android使用SQLite数据库

    - **`onUpgrade()`方法**:当数据库版本发生变化时调用此方法,可以在此处理数据迁移或更新表结构的操作。 - **访问数据库**: - 在Android中,可以通过`ContentProvider`或`Service`等方式来访问数据库。 - ...

    android contacts

    在处理联系人数据时,我们可以通过ContentProvider扩展SQLite数据库,创建相应的表结构,如Contacts表和Groups表。利用SQL语句进行增删改查操作,例如,使用INSERT INTO添加新的联系人,使用JOIN操作来关联联系人和...

    android-Contacts.rar_AlphabetScrollB_android_android qq

    "android-Contacts.rar_AlphabetScrollB_android_android qq"这个标题暗示了这是一个关于Android联系人管理的应用,可能实现了字母滚动条(AlphabetScrollB)的功能,用于快速定位联系人。以下是基于这个项目可能...

    Android 源码分析_Contacts

    2. SQLite数据库:`ContactsContract`是Android提供的用于操作联系人数据的API,它定义了数据库表结构和常量。联系人信息被存储在多个表中,如`RawContacts`、`Data`、`Contacts`等,每个表都有相应的SQLite操作方法...

    Android 高仿基于android2.2(Froyo)的Contacts源码.zip

    2. **SQLite数据库**:Contacts的数据存储在SQLite数据库中,每个联系人对应一个或多个记录,每个记录可能包含多个字段,如名字、电话号码、电子邮件等。SQLite数据库的操作都在ContentProvider中实现,保证了数据的...

    Android4.4Contacts源码

    1. **联系人存储系统**:Android 4.4的联系人应用使用SQLite数据库来存储联系人数据,主要分为两个表——`RawContacts`和`Data`。`RawContacts`存储每个联系人的基本信息,如联系人ID、账户类型等,而`Data`表则包含...

    Android应用源码之Contacts.zip

    再者,`ContactDatabaseHelper.java`是SQLite数据库操作的辅助类,用于创建和更新联系人数据库表结构。Android使用SQLite作为本地数据库,通过SQLiteOpenHelper进行数据库版本管理。这里我们可以学习到如何设计...

    Android4.1.1原版Contacts代码

    此外,联系人的数据通常存储在SQLite数据库中,如`data.db`,这包括姓名、电话号码、电子邮件等信息。 2. **Content Provider交互** `ContactsContract`是Android提供的一个接口,它定义了与Contacts Provider进行...

    ContactsProvider.apk

    烧写了俄罗斯大神的miui rom,发现智能拨号不支持拼音查找了。先清空手机联系人,然后用这个apk替换/system/app下的同名apk,重启手机,再导入联系人即可。

    手机main.db导出txt软件

    在Android中,"sms"表通常存储短信信息,而"contacts"或"contacts2"表则存储联系人。使用类似"yan0_SMS_CONTACT_DUMP"的工具,可能可以将这些数据提取出来并转换成TXT格式。 此外,开发者可能会编写自定义脚本或...

    google contacts syncadaper.apk 2.3.4

    google contacts syncadaper.apk 2.3.4

Global site tag (gtag.js) - Google Analytics