From 2cfd6d692aca3d91624c7c399f595e7e27090f49 Mon Sep 17 00:00:00 2001 From: "Sandy.lu" <104358440+shanlai@users.noreply.github.com> Date: Wed, 11 May 2022 13:41:26 +0800 Subject: [PATCH] Update ex-ug-import-from-mysql.md (#1796) Modify the SQL --- .../use-exchange/ex-ug-import-from-mysql.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-mysql.md b/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-mysql.md index 8b208a5704c..b21e363b600 100644 --- a/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-mysql.md +++ b/docs-2.0/nebula-exchange/use-exchange/ex-ug-import-from-mysql.md @@ -191,7 +191,7 @@ mysql> desc serve; table:"player" user:"test" password:"123456" - sentence:"select playerid, age, name from basketball order by playerid;" + sentence:"select playerid, age, name from player order by playerid" # 在 fields 里指定 player 表中的列名称,其对应的 value 会作为 Nebula Graph 中指定属性。 # fields 和 nebula.fields 里的配置必须一一对应。 @@ -224,7 +224,7 @@ mysql> desc serve; table:"team" user:"test" password:"123456" - sentence:"select teamid, name from basketball order by teamid;" + sentence:"select teamid, name from team order by teamid" fields: [name] nebula.fields: [name] @@ -259,7 +259,7 @@ mysql> desc serve; table:"follow" user:"test" password:"123456" - sentence:"select src_player,dst_player,degree from basketball order by src_player;" + sentence:"select src_player,dst_player,degree from follow order by src_player" # 在 fields 里指定 follow 表中的列名称,其对应的 value 会作为 Nebula Graph 中指定属性。 # fields 和 nebula.fields 里的配置必须一一对应。 @@ -301,7 +301,7 @@ mysql> desc serve; table:"serve" user:"test" password:"123456" - sentence:"select playerid,teamid,start_year,end_year from basketball order by playerid;" + sentence:"select playerid,teamid,start_year,end_year from serve order by playerid" fields: [start_year,end_year] nebula.fields: [start_year,end_year] source: {