文档

样例数据

更新时间:

您可以将样例数据加载到企业数据智能平台,方便您快速体验企业数据智能平台。

前提条件

  • 已根据快速入门教程完成开通企业数据智能平台,具体操作,请参见准备工作

  • 已根据快速入门教程完成添加用户和数据源步骤,具体操作,请参见添加用户和数据源

  • 请使用角色为工作组管理员的账号进行加载样例数据操作。

  • 请确保拥有加载的AnalyticDB PostgreSQL版数据库的读写权限。

加载样例数据

本步骤用于在企业数据智能平台上加载样例数据。

  1. 登录企业数据智能平台

  2. 单击页面左下角的快速开始

  3. 快速开始对话框中,选择需要加载样例数据的工作组数据源

    本次快速入门教程使用的工作组为快速开始,使用的数据源为adbpg_dev

    说明

    每个工作组仅能加载一次样例数据。

  4. 单击开始加载

    样例数据加载约需要3~5分钟,加载完成后单击立即查看即可进入该工作组的研发工作台页面。

插入测试数据

本步骤用于在AnalyticDB PostgreSQL版数据库中插入测试数据。

说明

以下步骤仅快速入门教程的数据同步操作需要使用,如果您不需要进行数据同步操作,可跳过以下步骤。

  1. 使用客户端连接登录AnalyticDB PostgreSQL版实例,具体操作,请参见。

  2. 在左侧已登录实例中找到目标实例,并展开目标实例。

  3. 找到并展开目标数据库,快速入门教程中的实例数据库为adbpg_dev

  4. 双击adbpg_dev库下的publicSchema,打开SQLConsole窗口。

  5. SQLConsole窗口中输入以下语句。

    CREATE TABLE IF NOT EXISTS "yhkh" (
     "id" int8,
     "zzhm" varchar(255),
     "khmc" varchar(255),
     "nl" int8,
     "xb" int8,
     "yddh1" varchar(255),
     "csrq" varchar(255),
     "jysp" int8,
     "career" int8,
     "hyzk" int8,
     "gz" int8,
     "decdbyjyje" int8,
     "decdbyjybs" int8,
     "zjzdjyrq" varchar(255),
     "jtnsr" int8,
     "dqckcy" int8
    );
    COMMENT ON COLUMN "yhkh"."id" IS '主键';
    COMMENT ON COLUMN "yhkh"."zzhm" IS '证件号码';
    COMMENT ON COLUMN "yhkh"."khmc" IS '客户名称';
    COMMENT ON COLUMN "yhkh"."nl" IS '年龄';
    COMMENT ON COLUMN "yhkh"."xb" IS '性别 0:男 1:女';
    COMMENT ON COLUMN "yhkh"."yddh1" IS '移动电话1';
    COMMENT ON COLUMN "yhkh"."csrq" IS '出生日期';
    COMMENT ON COLUMN "yhkh"."jysp" IS '教育水平 0:研究生 1:本科 2:高中 3:职业高中 4:职业学院';
    COMMENT ON COLUMN "yhkh"."career" IS '职业 0:保险 1:教师 2:外企白领 3:自由职业 4:it工程师';
    COMMENT ON COLUMN "yhkh"."hyzk" IS '婚姻状况 0:已婚 1:未婚';
    COMMENT ON COLUMN "yhkh"."gz" IS '工资';
    COMMENT ON COLUMN "yhkh"."decdbyjyje" IS '大额存单本月交易金额';
    COMMENT ON COLUMN "yhkh"."decdbyjybs" IS '大额存单本月交易笔数';
    COMMENT ON COLUMN "yhkh"."zjzdjyrq" IS '最近主动交易日期';
    COMMENT ON COLUMN "yhkh"."jtnsr" IS '家庭年收入';
    COMMENT ON COLUMN "yhkh"."dqckcy" IS '定期存款持有';
    COMMENT ON TABLE "yhkh" IS '信用卡客户信息';
    
    INSERT INTO yhkh VALUES
    (1,'CKR-1000','谢xx',33,0,'(86)3193462****','2002-03-06',0,3,1,80000,95429,31,'2019-05-13',1425574,83489),
    (2,'CKR-2000','罗xx',68,1,'+862364755****','2009-11-15',0,3,0,40000,54194,34,'2001-10-15',4732362,99694),
    (3,'CKR-3000','汤xx',46,1,'3390454****','1993-09-04',0,3,1,40000,61863,58,'1987-10-06',7593193,11215),
    (4,'CKR-4000','何xx',44,0,'2829044****','1999-07-22',1,3,0,35000,61082,60,'1989-10-07',9177195,60752),
    (5,'CKR-5000','文xx',36,0,'2523516****','1992-07-15',1,3,0,25000,71953,35,'2001-04-04',2925278,4165),
    (6,'CKR-1005','江xx',15,0,'2663132****','1981-03-04',1,3,0,15000,43857,42,'2014-01-08',5253141,65308),
    (7,'CKR-1006','汤xx',6,0,'1809917****','1986-10-20',1,3,1,10000,8503,86,'1970-09-12',5296756,85285),
    (8,'CKR-1007','江xx',62,1,'2173135****','1982-04-27',0,3,0,17000,65718,86,'1989-05-23',1762593,96453),
    (9,'CKR-1008','雷xx',34,0,'2164763****','1989-06-23',4,3,0,50000,97157,12,'1977-08-16',763445,99478),
    (10,'CKR-1009','孟xx',95,0,'1515331****','2008-07-12',0,2,1,15000,68605,54,'2011-10-13',6635322,87174),
    (11,'CKR-1010','常xx',71,0,'1547604****','2008-06-10',0,2,1,8500,49055,98,'1978-01-21',3847031,51571),
    (12,'CKR-1011','乔xx',34,1,'1705034****','1977-11-03',1,2,1,15000,72188,65,'2019-08-09',9715625,11546),
    (13,'CKR-1012','金xx',4,1,'+862836471****','1977-11-11',1,2,0,17000,65132,39,'1992-11-26',9875371,93019),
    (14,'CKR-1013','龚xx',78,0,'3332179****','2005-12-10',1,2,0,12000,15774,83,'1973-12-30',5007852,78029),
    (15,'CKR-1014','何xx',57,0,'2037733****','1977-01-27',1,2,1,17000,12815,55,'2007-10-22',409723,62655),
    (16,'CKR-1015','贺xx',18,1,'1636923****','2001-12-25',4,4,1,10000,90515,3,'1989-01-07',751082,18248),
    (17,'CKR-1016','潘xx',76,0,'2853950****','2003-12-24',4,4,1,17000,68525,44,'1995-07-22',7495966,81766),
    (18,'CKR-1017','潘xx',74,1,'2211007****','1973-06-06',1,4,1,10000,71531,78,'2011-07-26',366257,7696),
    (19,'CKR-1018','顾xx',92,0,'1573868****','2017-11-11',1,4,0,30000,62387,1,'1988-05-21',2213117,85397),
    (20,'CKR-1019','马xx',13,0,'+862170822****','2014-07-02',1,4,0,35000,66701,68,'1990-11-03',8238187,65044),
    (21,'CKR-1020','曾xx',78,0,'2120056****','1983-05-18',1,1,0,35000,53658,26,'2001-04-06',7262309,36107),
    (22,'CKR-1021','阎xx',77,0,'2325277****','2014-05-21',1,1,1,15000,38751,18,'2006-01-18',4477225,12690),
    (23,'CKR-1022','魏xx',96,1,'3368398****','1978-04-18',4,1,1,17000,31883,2,'1983-03-11',8062079,48940),
    (24,'CKR-1023','赵xx',55,1,'1519715****','1998-05-10',0,0,1,12000,52528,97,'1999-10-03',4701315,97298),
    (25,'CKR-1024','魏xx',12,0,'3153563****','1999-02-13',2,0,1,15000,33481,27,'1985-10-14',7808248,8086),
    (26,'CKR-1025','乔xx',38,1,'+861679917****','1978-03-29',1,0,0,16000,71075,83,'1993-09-10',5946732,7717),
    (27,'CKR-1026','邓xx',79,0,'3432791****','2007-08-20',4,0,0,14000,44632,84,'1976-08-17',9530773,22782),
    (28,'CKR-1027','贺xx',38,0,'3308911****','2006-05-24',0,0,0,8500,94004,49,'1983-02-01',6219669,29030),
    (29,'CKR-1028','谭xx',80,0,'+862028374****','1973-12-13',4,0,0,15000,7536,24,'2003-11-18',8550386,9772),
    (30,'CKR-1029','余xx',93,1,'2409191****','2017-10-26',4,0,1,14000,77595,40,'1977-11-19',5950564,73535),
    (31,'CKR-1030','谢xx',21,0,'2166235****','1992-12-31',2,0,0,17000,65481,86,'1978-11-14',5902767,80462),
    (32,'CKR-1031','陆xx',900,0,'(86)2106548****','2018-03-04',1,0,1,17000,16100,45,'1999-07-13',7209351,18872),
    (33,'CKR-1032','谭xx',14,1,'3365810****','1986-01-09',0,0,0,7000,87617,40,'2013-07-14',7266776,26436),
    (34,'CKR-1033','李xx',17,0,'2507836****','2002-02-13',1,2,1,11000,11490,67,'1993-01-25',1498183,51372),
    (35,'CKR-1034','史xx',60,0,'1431977****','1973-05-16',1,2,1,45000,87909,24,'2018-06-05',2030521,26098),
    (36,'CKR-1035','苏xx',72,0,'3404743****','1988-10-30',1,2,1,6700,29314,5,'1995-10-09',7693879,68804),
    (37,'CKR-1036','叶xx',71,0,'2043307****','2018-04-02',2,2,0,8000,81260,43,'2000-11-27',7005542,29571),
    (38,'CKR-1037','潘xx',14,0,'1448963****','1987-12-23',1,2,1,10000,8007,8,'2018-02-23',9003028,20745),
    (39,'CKR-1038','许xx',4,0,'2140561****','1990-08-22',2,2,0,10000,78111,74,'1994-01-01',9313883,19159),
    (40,'CKR-1039','余xx',300,0,'(86)3069930****','2002-12-20',2,1,1,8500,43071,34,'1992-01-19',3081415,94513),
    (41,'CKR-1040','崔xx',11,0,'1402993****','1986-06-19',2,1,0,5000,87999,5,'1987-02-13',178974,61325),
    (42,'CKR-1041','贺xx',97,0,'2535329****','2001-02-18',4,1,1,6700,78972,78,'1972-02-13',5901890,70525),
    (43,'CKR-1042','许xx',85,0,'1691396****','2002-05-06',1,0,1,5000,91055,24,'2018-01-05',6859793,78753),
    (44,'CKR-1043','沈xx',10,0,'(86)2587028****','1981-09-02',0,0,0,6800,63460,13,'1980-10-23',2177974,76217),
    (45,'CKR-1044','万xx',20,1,'2696176****','1979-04-07',2,0,1,6600,39348,94,'1985-12-10',1728750,36261),
    (46,'CKR-1045','袁xx',99,0,'2966678****','1989-10-22',2,0,0,6500,92593,2,'1990-03-07',1821075,11599),
    (47,'CKR-1046','傅xx',23,1,'2692373****','2004-02-17',4,0,0,7200,68864,99,'2016-08-26',1387723,28969),
    (48,'CKR-1047','龚xx',6,1,'2615557****','1989-02-04',0,0,1,5000,79006,60,'1988-01-04',7876225,82518),
    (49,'CKR-1048','彭xx',17,0,'2820032****','1999-05-11',1,0,1,5000,14056,61,'1983-08-25',5280068,75582),
    (50,'CKR-1049','乔xx',44,0,'2004758****','1983-01-15',2,1,0,5000,6073,86,'1970-03-27',6822252,55308),
    (51,'CKR-1050','贺xx',4,0,'2445783****','1990-10-21',4,1,0,5000,89753,89,'2004-07-30',8107579,27253),
    (52,'CKR-1051','蒋xx',83,0,'1318798****','1981-07-26',2,1,0,12000,89547,39,'1996-03-27',9546849,98847),
    (53,'CKR-1052','阎xx',43,0,'2496603****','1994-10-30',4,0,1,9000,56956,44,'1975-01-18',115463,75243),
    (54,'CKR-1053','范xx',92,1,'2073525****','2016-11-16',3,0,1,8000,99009,10,'2014-07-05',6628234,97674),
    (55,'CKR-1054','苏xx',34,0,'1426190****','2014-07-15',2,0,0,7000,81145,33,'2004-07-14',4140885,14247),
    (56,'CKR-1055','赵xx',91,0,'2522975****','2001-04-04',1,0,0,8500,60527,5,'1988-04-21',3255066,88485),
    (57,'CKR-1056','赵xx',84,0,'3389265****','1980-11-27',1,0,0,8500,42275,51,'1988-10-16',8660761,75908),
    (58,'CKR-1057','邓xx',11,0,'2490308****','1973-11-06',4,0,0,9000,57619,62,'1998-09-11',8035936,6989),
    (59,'CKR-1058','张xx',36,0,'2659901****','1973-02-09',1,0,1,7200,33170,35,'1980-08-20',3885281,42114),
    (60,'CKR-1059','孙xx',35,0,'3012420****','1989-05-29',1,3,0,6800,29221,17,'2001-06-08',7175461,39317),
    (61,'CKR-1060','金xx',4,1,'3298975****','2018-04-06',0,3,0,6900,56864,48,'1984-09-19',5103692,34747),
    (62,'CKR-1061','谢xx',37,1,'2232568****','1981-05-12',4,3,1,7100,32834,34,'2006-05-05',8119980,44347),
    (63,'CKR-1062','石xx',28,0,'3115119****','2013-02-06',4,3,0,7000,45832,81,'2016-06-03',7215690,60679),
    (64,'CKR-1063','蒋xx',83,0,'3272740****','1975-08-14',1,3,1,7000,28624,67,'2005-05-19',401890,4493),
    (65,'CKR-1064','尹xx',14,0,'2696614****','2014-12-16',2,2,1,5000,50594,88,'2010-09-03',4781451,52552),
    (66,'CKR-1065','阎xx',4,1,'2977108****','1983-01-12',1,2,1,9000,34747,46,'1972-12-15',3021194,99764),
    (67,'CKR-1066','杨xx',3,1,'2588012****','2005-11-01',4,2,0,6500,93199,33,'1989-07-26',772627,25525),
    (68,'CKR-1067','雷xx',100,1,'2150176****','2016-04-02',1,2,1,7500,33137,78,'1989-09-21',3897294,95987),
    (69,'CKR-1068','许xx',13,0,'1480894****','2004-06-12',2,3,1,4400,14611,90,'1992-03-07',8212692,30070),
    (70,'CKR-1069','熊xx',80,1,'3423815****','2003-03-07',3,3,1,4800,76704,63,'1977-02-16',5031631,8627),
    (71,'CKR-1070','邓xx',96,0,'1676364****','1983-12-15',0,3,0,3700,74704,82,'2002-11-05',3221507,43394),
    (72,'CKR-1071','赖xx',4,0,'2456341****','1996-10-11',4,3,0,6500,96055,18,'2008-03-21',7341282,90341),
    (73,'CKR-1072','王xx',27,1,'1867428****','1980-08-30',2,3,1,5200,87710,34,'1985-10-11',6442607,52075),
    (74,'CKR-1073','秦xx',95,1,'3218186****','2018-04-25',1,2,0,4650,88563,96,'2009-01-05',2643763,84598),
    (75,'CKR-1074','贺xx',10,0,'1306344****','2006-10-14',1,2,1,4550,13903,18,'1984-01-26',345408,81526),
    (76,'CKR-1075','雷xx',61,0,'2471314****','1996-08-30',2,2,1,4400,32375,0,'1992-06-04',7901871,29745),
    (77,'CKR-1076','秦xx',61,0,'2243587****','2013-07-03',2,2,1,4700,16121,49,'1979-04-15',8668010,15787),
    (78,'CKR-1077','郭xx',12,1,'2744727****','2014-02-23',1,3,1,4500,32254,2,'1988-10-12',2226230,18156),
    (79,'CKR-1078','苏xx',76,0,'2089097****','1973-04-28',1,3,0,8000,53199,2,'1982-07-07',635335,73580),
    (80,'CKR-1079','朱xx',22,1,'3402858****','2018-10-06',4,3,1,10000,85964,38,'1999-06-05',8596230,14763),
    (81,'CKR-1080','孙xx',93,1,'2619516****','1994-09-18',0,3,0,10000,15577,82,'1975-03-25',5012535,14102);
  6. 单击执行(F8)

  • 本页导读 (1)