diff --git a/docker/work/answer/ans_preprocess_knock_SQL.ipynb b/docker/work/answer/ans_preprocess_knock_SQL.ipynb
index 3dd9cb93..2a070480 100644
--- a/docker/work/answer/ans_preprocess_knock_SQL.ipynb
+++ b/docker/work/answer/ans_preprocess_knock_SQL.ipynb
@@ -5467,58 +5467,58 @@
"
coalesce | \n",
" \n",
" \n",
- " CS001112000009 | \n",
+ " CS021313000114 | \n",
" 0 | \n",
"
\n",
" \n",
- " CS001112000019 | \n",
- " 0 | \n",
+ " CS031415000172 | \n",
+ " 5088 | \n",
"
\n",
" \n",
- " CS001112000021 | \n",
+ " CS028811000001 | \n",
" 0 | \n",
"
\n",
" \n",
- " CS001112000023 | \n",
- " 0 | \n",
+ " CS001215000145 | \n",
+ " 875 | \n",
"
\n",
" \n",
- " CS001112000024 | \n",
- " 0 | \n",
+ " CS015414000103 | \n",
+ " 3122 | \n",
"
\n",
" \n",
- " CS001112000029 | \n",
- " 0 | \n",
+ " CS033513000180 | \n",
+ " 868 | \n",
"
\n",
" \n",
- " CS001112000030 | \n",
+ " CS035614000014 | \n",
" 0 | \n",
"
\n",
" \n",
- " CS001113000004 | \n",
- " 1298 | \n",
+ " CS011215000048 | \n",
+ " 3444 | \n",
"
\n",
" \n",
- " CS001113000010 | \n",
+ " CS009413000079 | \n",
" 0 | \n",
"
\n",
" \n",
- " CS001114000005 | \n",
- " 626 | \n",
+ " CS040412000191 | \n",
+ " 210 | \n",
"
\n",
""
],
"text/plain": [
- "[('CS001112000009', 0),\n",
- " ('CS001112000019', 0),\n",
- " ('CS001112000021', 0),\n",
- " ('CS001112000023', 0),\n",
- " ('CS001112000024', 0),\n",
- " ('CS001112000029', 0),\n",
- " ('CS001112000030', 0),\n",
- " ('CS001113000004', 1298),\n",
- " ('CS001113000010', 0),\n",
- " ('CS001114000005', 626)]"
+ "[('CS021313000114', 0),\n",
+ " ('CS031415000172', 5088),\n",
+ " ('CS028811000001', 0),\n",
+ " ('CS001215000145', 875),\n",
+ " ('CS015414000103', 3122),\n",
+ " ('CS033513000180', 868),\n",
+ " ('CS035614000014', 0),\n",
+ " ('CS011215000048', 3444),\n",
+ " ('CS009413000079', 0),\n",
+ " ('CS040412000191', 210)]"
]
},
"execution_count": 40,
@@ -5540,7 +5540,6 @@
"ON c.customer_id = a.customer_id\n",
"WHERE c.gender_cd = '1'\n",
" and c.customer_id not like 'Z%'\n",
- "ORDER BY customer_id\n",
"LIMIT 10"
]
},
@@ -10267,17 +10266,17 @@
" status_cd | \n",
" \n",
" \n",
- " CS029415000023 | \n",
- " 梅田 里穂 | \n",
+ " CS017412000200 | \n",
+ " 川野 さとみ | \n",
" 1 | \n",
" 女性 | \n",
- " 1976-01-17 | \n",
- " 43 | \n",
- " 279-0043 | \n",
- " 千葉県浦安市富士見********** | \n",
- " S12029 | \n",
- " 20150610 | \n",
- " D-20100918-E | \n",
+ " 1970-11-30 | \n",
+ " 48 | \n",
+ " 166-0004 | \n",
+ " 東京都杉並区阿佐谷南********** | \n",
+ " S13017 | \n",
+ " 20160302 | \n",
+ " 0-00000000-0 | \n",
"
\n",
" \n",
" CS001515000096 | \n",
@@ -10293,122 +10292,122 @@
" A-20100724-7 | \n",
"
\n",
" \n",
- " CS020513000020 | \n",
- " 岡村 愛子 | \n",
- " 1 | \n",
- " 女性 | \n",
- " 1963-04-20 | \n",
- " 55 | \n",
- " 115-0056 | \n",
- " 東京都北区西が丘********** | \n",
- " S13020 | \n",
- " 20151224 | \n",
+ " CS002503000087 | \n",
+ " 松居 ケンイチ | \n",
+ " 0 | \n",
+ " 男性 | \n",
+ " 1960-05-09 | \n",
+ " 58 | \n",
+ " 187-0021 | \n",
+ " 東京都小平市上水南町********** | \n",
+ " S13002 | \n",
+ " 20160613 | \n",
" 0-00000000-0 | \n",
"
\n",
" \n",
- " CS044412000021 | \n",
- " 紺野 愛 | \n",
+ " CS029415000273 | \n",
+ " 本山 あい | \n",
" 1 | \n",
" 女性 | \n",
- " 1977-06-13 | \n",
- " 41 | \n",
- " 210-0014 | \n",
- " 神奈川県川崎市川崎区貝塚********** | \n",
- " S13044 | \n",
- " 20171130 | \n",
- " 4-20100321-6 | \n",
+ " 1973-02-16 | \n",
+ " 46 | \n",
+ " 279-0003 | \n",
+ " 千葉県浦安市海楽********** | \n",
+ " S12029 | \n",
+ " 20160903 | \n",
+ " 0-00000000-0 | \n",
+ "
\n",
+ " \n",
+ " CS008502000023 | \n",
+ " 臼井 貴嶺 | \n",
+ " 0 | \n",
+ " 男性 | \n",
+ " 1962-06-30 | \n",
+ " 56 | \n",
+ " 213-0031 | \n",
+ " 神奈川県川崎市高津区宇奈根********** | \n",
+ " S13008 | \n",
+ " 20150612 | \n",
+ " 0-00000000-0 | \n",
"
\n",
" \n",
- " CS051513000001 | \n",
- " 三宅 芽以 | \n",
+ " CS040512000188 | \n",
+ " 久野 美紀 | \n",
" 1 | \n",
" 女性 | \n",
- " 1964-06-05 | \n",
- " 54 | \n",
- " 115-0056 | \n",
- " 東京都北区西が丘********** | \n",
- " S13051 | \n",
- " 20180502 | \n",
+ " 1959-04-28 | \n",
+ " 59 | \n",
+ " 226-0027 | \n",
+ " 神奈川県横浜市緑区長津田********** | \n",
+ " S14040 | \n",
+ " 20160203 | \n",
" 0-00000000-0 | \n",
"
\n",
" \n",
- " CS003515000209 | \n",
- " 奥貫 璃子 | \n",
+ " CS009513000178 | \n",
+ " 草野 恵梨香 | \n",
" 1 | \n",
" 女性 | \n",
- " 1961-06-12 | \n",
- " 57 | \n",
- " 201-0001 | \n",
- " 東京都狛江市西野川********** | \n",
- " S13003 | \n",
- " 20150617 | \n",
- " B-20100509-B | \n",
+ " 1965-11-05 | \n",
+ " 53 | \n",
+ " 158-0095 | \n",
+ " 東京都世田谷区瀬田********** | \n",
+ " S13009 | \n",
+ " 20150524 | \n",
+ " C-20100808-9 | \n",
"
\n",
" \n",
- " CS038314000106 | \n",
- " 中井 璃奈子 | \n",
+ " CS024512000042 | \n",
+ " 平塚 奈月 | \n",
" 1 | \n",
" 女性 | \n",
- " 1981-04-22 | \n",
- " 37 | \n",
- " 279-0043 | \n",
- " 千葉県浦安市富士見********** | \n",
- " S13038 | \n",
- " 20180714 | \n",
+ " 1959-06-04 | \n",
+ " 59 | \n",
+ " 216-0015 | \n",
+ " 神奈川県川崎市宮前区菅生********** | \n",
+ " S14024 | \n",
+ " 20150702 | \n",
" 0-00000000-0 | \n",
"
\n",
" \n",
- " CS016312000018 | \n",
- " 倉本 華子 | \n",
+ " CS015614000010 | \n",
+ " 井田 真奈美 | \n",
" 1 | \n",
" 女性 | \n",
- " 1986-02-23 | \n",
- " 33 | \n",
- " 187-0011 | \n",
- " 東京都小平市鈴木町********** | \n",
- " S13016 | \n",
- " 20140926 | \n",
+ " 1954-06-09 | \n",
+ " 64 | \n",
+ " 136-0076 | \n",
+ " 東京都江東区南砂********** | \n",
+ " S13015 | \n",
+ " 20150516 | \n",
" 0-00000000-0 | \n",
"
\n",
" \n",
- " CS009614000045 | \n",
- " 葛西 優 | \n",
+ " CS011312000090 | \n",
+ " 米沢 ヒカル | \n",
" 1 | \n",
" 女性 | \n",
- " 1957-10-23 | \n",
- " 61 | \n",
- " 154-0015 | \n",
- " 東京都世田谷区桜新町********** | \n",
- " S13009 | \n",
- " 20150311 | \n",
- " 5-20080701-2 | \n",
- "
\n",
- " \n",
- " CS023304000005 | \n",
- " 横川 慶二 | \n",
- " 0 | \n",
- " 男性 | \n",
- " 1984-01-06 | \n",
- " 35 | \n",
- " 212-0012 | \n",
- " 神奈川県川崎市幸区中幸町********** | \n",
- " S14023 | \n",
- " 20151126 | \n",
- " 6-20100423-9 | \n",
+ " 1984-12-31 | \n",
+ " 34 | \n",
+ " 211-0066 | \n",
+ " 神奈川県川崎市中原区今井西町********** | \n",
+ " S14011 | \n",
+ " 20141213 | \n",
+ " 0-00000000-0 | \n",
"
\n",
""
],
"text/plain": [
- "[('CS029415000023', '梅田 里穂', '1', '女性', datetime.date(1976, 1, 17), 43, '279-0043', '千葉県浦安市富士見**********', 'S12029', '20150610', 'D-20100918-E'),\n",
+ "[('CS017412000200', '川野 さとみ', '1', '女性', datetime.date(1970, 11, 30), 48, '166-0004', '東京都杉並区阿佐谷南**********', 'S13017', '20160302', '0-00000000-0'),\n",
" ('CS001515000096', '水野 陽子', '9', '不明', datetime.date(1960, 11, 29), 58, '144-0053', '東京都大田区蒲田本町**********', 'S13001', '20150614', 'A-20100724-7'),\n",
- " ('CS020513000020', '岡村 愛子', '1', '女性', datetime.date(1963, 4, 20), 55, '115-0056', '東京都北区西が丘**********', 'S13020', '20151224', '0-00000000-0'),\n",
- " ('CS044412000021', '紺野 愛', '1', '女性', datetime.date(1977, 6, 13), 41, '210-0014', '神奈川県川崎市川崎区貝塚**********', 'S13044', '20171130', '4-20100321-6'),\n",
- " ('CS051513000001', '三宅 芽以', '1', '女性', datetime.date(1964, 6, 5), 54, '115-0056', '東京都北区西が丘**********', 'S13051', '20180502', '0-00000000-0'),\n",
- " ('CS003515000209', '奥貫 璃子', '1', '女性', datetime.date(1961, 6, 12), 57, '201-0001', '東京都狛江市西野川**********', 'S13003', '20150617', 'B-20100509-B'),\n",
- " ('CS038314000106', '中井 璃奈子', '1', '女性', datetime.date(1981, 4, 22), 37, '279-0043', '千葉県浦安市富士見**********', 'S13038', '20180714', '0-00000000-0'),\n",
- " ('CS016312000018', '倉本 華子', '1', '女性', datetime.date(1986, 2, 23), 33, '187-0011', '東京都小平市鈴木町**********', 'S13016', '20140926', '0-00000000-0'),\n",
- " ('CS009614000045', '葛西 優', '1', '女性', datetime.date(1957, 10, 23), 61, '154-0015', '東京都世田谷区桜新町**********', 'S13009', '20150311', '5-20080701-2'),\n",
- " ('CS023304000005', '横川 慶二', '0', '男性', datetime.date(1984, 1, 6), 35, '212-0012', '神奈川県川崎市幸区中幸町**********', 'S14023', '20151126', '6-20100423-9')]"
+ " ('CS002503000087', '松居 ケンイチ', '0', '男性', datetime.date(1960, 5, 9), 58, '187-0021', '東京都小平市上水南町**********', 'S13002', '20160613', '0-00000000-0'),\n",
+ " ('CS029415000273', '本山 あい', '1', '女性', datetime.date(1973, 2, 16), 46, '279-0003', '千葉県浦安市海楽**********', 'S12029', '20160903', '0-00000000-0'),\n",
+ " ('CS008502000023', '臼井 貴嶺', '0', '男性', datetime.date(1962, 6, 30), 56, '213-0031', '神奈川県川崎市高津区宇奈根**********', 'S13008', '20150612', '0-00000000-0'),\n",
+ " ('CS040512000188', '久野 美紀', '1', '女性', datetime.date(1959, 4, 28), 59, '226-0027', '神奈川県横浜市緑区長津田**********', 'S14040', '20160203', '0-00000000-0'),\n",
+ " ('CS009513000178', '草野 恵梨香', '1', '女性', datetime.date(1965, 11, 5), 53, '158-0095', '東京都世田谷区瀬田**********', 'S13009', '20150524', 'C-20100808-9'),\n",
+ " ('CS024512000042', '平塚 奈月', '1', '女性', datetime.date(1959, 6, 4), 59, '216-0015', '神奈川県川崎市宮前区菅生**********', 'S14024', '20150702', '0-00000000-0'),\n",
+ " ('CS015614000010', '井田 真奈美', '1', '女性', datetime.date(1954, 6, 9), 64, '136-0076', '東京都江東区南砂**********', 'S13015', '20150516', '0-00000000-0'),\n",
+ " ('CS011312000090', '米沢 ヒカル', '1', '女性', datetime.date(1984, 12, 31), 34, '211-0066', '神奈川県川崎市中原区今井西町**********', 'S14011', '20141213', '0-00000000-0')]"
]
},
"execution_count": 79,
@@ -11862,9 +11861,9 @@
"text": [
" * postgresql://padawan:***@db:5432/dsdojo_db\n",
"Done.\n",
- "1652 rows affected.\n",
+ "1705 rows affected.\n",
"Done.\n",
- "20319 rows affected.\n"
+ "20266 rows affected.\n"
]
},
{
@@ -12153,7 +12152,7 @@
"text": [
" * postgresql://padawan:***@db:5432/dsdojo_db\n",
"Done.\n",
- "16575 rows affected.\n"
+ "16543 rows affected.\n"
]
},
{
@@ -12234,7 +12233,7 @@
" \n",
" \n",
" 0 | \n",
- " 8269 | \n",
+ " 8237 | \n",
"
\n",
" \n",
" 1 | \n",
@@ -12243,7 +12242,7 @@
""
],
"text/plain": [
- "[(0, 8269), (1, 8306)]"
+ "[(0, 8237), (1, 8306)]"
]
},
"execution_count": 104,