{"id":6746,"date":"2026-07-12T02:05:28","date_gmt":"2026-07-12T10:05:28","guid":{"rendered":"https:\/\/www.gudusoft.com\/column-level-data-lineage\/"},"modified":"2026-07-12T02:05:28","modified_gmt":"2026-07-12T10:05:28","slug":"column-level-data-lineage","status":"publish","type":"page","link":"https:\/\/www.gudusoft.com\/jp\/%e5%88%97%e3%83%ac%e3%83%99%e3%83%ab%e3%81%ae%e3%83%87%e3%83%bc%e3%82%bf%e3%83%aa%e3%83%8d%e3%83%bc%e3%82%b8\/","title":{"rendered":"\u5217\u30ec\u30d9\u30eb\u306e\u30c7\u30fc\u30bf\u30ea\u30cd\u30fc\u30b8\uff1a\u305d\u306e\u6982\u8981\u3068\u3001\u30c6\u30fc\u30d6\u30eb\u30ec\u30d9\u30eb\u3067\u306f\u4e0d\u5341\u5206\u306a\u7406\u7531"},"content":{"rendered":"<p><strong>\u5217\u30ec\u30d9\u30eb\u306e\u30c7\u30fc\u30bf\u30ea\u30cd\u30fc\u30b8<\/strong> \u30af\u30a8\u30ea\u3001\u30d3\u30e5\u30fc\u3001\u307e\u305f\u306f\u30ec\u30dd\u30fc\u30c8\u306e\u3059\u3079\u3066\u306e\u51fa\u529b\u5217\u3092\u3001\u305d\u306e\u51fa\u529b\u5217\u3092\u751f\u6210\u3059\u308b\u6b63\u78ba\u306a\u30bd\u30fc\u30b9\u5217\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u3001\u305d\u306e\u904e\u7a0b\u3067\u9069\u7528\u3055\u308c\u305f\u3059\u3079\u3066\u306e\u5909\u63db\uff08\u95a2\u6570\u3001\u30ad\u30e3\u30b9\u30c8\u3001\u7d50\u5408\u3001\u96c6\u8a08\u3001\u30d5\u30a3\u30eb\u30bf\uff09\u3082\u30de\u30c3\u30d4\u30f3\u30b0\u3057\u307e\u3059\u3002\u30c6\u30fc\u30d6\u30eb\u30ec\u30d9\u30eb\u306e\u30ea\u30cd\u30fc\u30b8\u304c\u300c\u30c6\u30fc\u30d6\u30eb\u300d\u3068\u8a00\u3063\u3066\u3044\u308b\u5834\u5408 <code>\u6ce8\u6587<\/code> \u30d5\u30a3\u30fc\u30c9\u30c6\u30fc\u30d6\u30eb <code>\u53ce\u76ca\u5831\u544a<\/code>\u300c\u5217\u30ec\u30d9\u30eb\u306e\u7cfb\u7d71\u306f\u300c<code>\u53ce\u76ca\u30ec\u30dd\u30fc\u30c8\u5408\u8a08<\/code> \u306f <code>SUM(orders.amount)<\/code>\u30d5\u30a3\u30eb\u30bf\u30fc\u6e08\u307f <code>\u6ce8\u6587\u72b6\u6cc1<\/code> \u305d\u3057\u3066\u30b0\u30eb\u30fc\u30d7\u5316\u3055\u308c\u305f <code>\u9867\u5ba2\u5730\u57df<\/code>\u300c\u305d\u308c\u306f\u3001\u5f71\u97ff\u5206\u6790\u3001\u30c7\u30d0\u30c3\u30b0\u3001\u76e3\u67fb\u306e\u56de\u7b54\u304c\u6982\u7b97\u3067\u306f\u306a\u304f\u6b63\u78ba\u306b\u306a\u308b\u7c92\u5ea6\u3067\u3059\u3002\u300d<\/p>\n\n\n\n<p>\u3053\u306e\u30da\u30fc\u30b8\u3067\u306f\u3001\u7528\u8a9e\u3092\u5b9a\u7fa9\u3057\u3001CTE\u3001\u7d50\u5408\u3001\u96c6\u8a08\u3092\u542b\u3080\u5b9f\u969b\u306e\u30af\u30a8\u30ea\u3067\u51fa\u529b\u5217\u306e1\u3064\u3092\u9806\u306b\u8aac\u660e\u3057\u3001\u3053\u306e\u60c5\u5831\u3092\u62bd\u51fa\u3059\u308b\u306b\u306f\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u30f3\u30b0\u3067\u306f\u306a\u304f\u610f\u5473\u8ad6\u7684SQL\u89e3\u6790\u304c\u5fc5\u8981\u306a\u7406\u7531\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u30ea\u30cd\u30fc\u30b8\u3068\u3044\u3046\u6982\u5ff5\u304c\u521d\u3081\u3066\u306e\u65b9\u306f\u3001\u307e\u305a <a href=\"https:\/\/www.gudusoft.com\/jp\/%e3%83%87%e3%83%bc%e3%82%bf%e7%b3%bb%e7%b5%b1%e3%81%a8%e3%81%af\/\">\u30c7\u30fc\u30bf\u30ea\u30cd\u30fc\u30b8\u3068\u306f\u4f55\u304b\u3001\u305d\u3057\u3066\u306a\u305c\u305d\u308c\u304c\u91cd\u8981\u306a\u306e\u304b<\/a>\u5217\u3054\u3068\u306e\u8a73\u7d30\u60c5\u5831\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u3061\u3089\u306b\u623b\u3063\u3066\u304d\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"wp-block-group alignfull has-background is-layout-constrained\" style=\"background-color:#eef7fb;padding-top:24px;padding-bottom:24px\"><div class=\"wp-block-group__inner-container\">\n\n<p><strong>\u3054\u81ea\u8eab\u306eSQL\u3067\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/strong> \u30af\u30a8\u30ea\u3092\u8cbc\u308a\u4ed8\u3051\u308b <a href=\"https:\/\/sqlflow.gudusoft.com\/?utm_source=gudusoft&amp;utm_medium=website&amp;utm_campaign=column-level-data-lineage\" target=\"_blank\" rel=\"noreferrer noopener\">\u7121\u6599\u306eSQLFlow\u7cfb\u7d71\u53ef\u8996\u5316\u30c4\u30fc\u30eb<\/a> \u51fa\u529b\u5217\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u305d\u306e\u5217\u306e\u5b8c\u5168\u306a\u4e0a\u6d41\u30d1\u30b9\u304c\u30cf\u30a4\u30e9\u30a4\u30c8\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30af\u30e9\u30a6\u30c9\u306e\u7121\u6599\u30d7\u30e9\u30f3\u3067\u5341\u5206\u624b\u9806\u3092\u8ffd\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u5217\u30ec\u30d9\u30eb\u306e\u30c7\u30fc\u30bf\u30ea\u30cd\u30fc\u30b8\u30ec\u30b3\u30fc\u30c9\u306f<\/h2>\n\n\n\n<p>\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u304c\u66f8\u304d\u8fbc\u3080\u3001\u307e\u305f\u306f\u8fd4\u3059\u5404\u5217\u306b\u3064\u3044\u3066\u3001\u5217\u30ec\u30d9\u30eb\u306e\u7cfb\u7d71\u30b0\u30e9\u30d5\u306b\u306f\u6b21\u306e3\u3064\u306e\u60c5\u5831\u304c\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<ul><li><strong>\u30bd\u30fc\u30b9\u5217:<\/strong> \u51fa\u529b\u306b\u5024\u304c\u6d41\u308c\u8fbc\u3080\u7269\u7406\u5217\u306f\u3001CTE\u3001\u30b5\u30d6\u30af\u30a8\u30ea\u3001\u30d3\u30e5\u30fc\u3001\u4e00\u6642\u30c6\u30fc\u30d6\u30eb\u306a\u3069\u306e\u4efb\u610f\u306e\u6570\u306e\u4e2d\u9593\u5c64\u3092\u4ecb\u3057\u3066\u89e3\u6c7a\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><strong>\u5909\u5316\uff1a<\/strong> \u30d1\u30b9\u306b\u9069\u7528\u3055\u308c\u308b\u64cd\u4f5c\u3001\u4f8b\uff1a <code>\u548c\uff08\uff09<\/code>, <code>\u30ad\u30e3\u30b9\u30c8\uff08\uff09<\/code>, <code>\u5834\u5408<\/code> \u5f0f\u3001\u6587\u5b57\u5217\u95a2\u6570\u3001\u304a\u3088\u3073\u96c6\u5408\u6f14\u7b97\u5b50\u306a\u3069 <code>\u9023\u5408<\/code>.<\/li>\n<li><strong>\u95a2\u4fc2\u306e\u7a2e\u985e:<\/strong> \u30bd\u30fc\u30b9\u5217\u306e\u5024\u304c\u5b9f\u969b\u306b\u51fa\u529b\u306b\u53cd\u6620\u3055\u308c\u308b\u304b\uff08\u76f4\u63a5\u7684\u306a\u7cfb\u8b5c\uff09\u3001\u305d\u308c\u3068\u3082\u30d5\u30a3\u30eb\u30bf\u30fc\u3001\u7d50\u5408\u3001\u30b0\u30eb\u30fc\u30d7\u5316\u306a\u3069\u306b\u3088\u3063\u3066\u7d50\u679c\u304c\u5f62\u4f5c\u3089\u308c\u308b\u3060\u3051\u304b\uff08\u9593\u63a5\u7684\u306a\u7cfb\u8b5c\uff09\u3092\u533a\u5225\u3057\u307e\u3059\u3002\u307b\u3068\u3093\u3069\u306e\u30c4\u30fc\u30eb\u306f\u3053\u306e\u533a\u5225\u3092\u7121\u8996\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3053\u306e\u533a\u5225\u306b\u3064\u3044\u3066\u306f\u5f8c\u8ff0\u3057\u307e\u3059\u3002<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c6\u30fc\u30d6\u30eb\u30ec\u30d9\u30eb\u306e\u7cfb\u7d71\u56f3\u3060\u3051\u3067\u306f\u4e0d\u5341\u5206\u306a\u7406\u7531<\/h2>\n\n\n\n<p>\u30c6\u30fc\u30d6\u30eb\u30ec\u30d9\u30eb\u306e\u30c7\u30fc\u30bf\u30ea\u30cd\u30fc\u30b8\u306f\u4f5c\u6210\u30b3\u30b9\u30c8\u304c\u4f4e\u304f\u3001\u6700\u521d\u306e\u65b9\u5411\u628a\u63e1\u306b\u306f\u975e\u5e38\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u3069\u306e\u30c6\u30fc\u30d6\u30eb\u3068\u30d3\u30e5\u30fc\u304c\u3069\u306e\u30c6\u30fc\u30d6\u30eb\u3068\u30d3\u30e5\u30fc\u306b\u30c7\u30fc\u30bf\u3092\u4f9b\u7d66\u3057\u3066\u3044\u308b\u304b\u3092\u793a\u3059\u30de\u30c3\u30d7\u3092\u4f5c\u6210\u3067\u304d\u308b\u304b\u3089\u3067\u3059\u3002\u554f\u984c\u306f\u3001\u30c7\u30fc\u30bf\u30c1\u30fc\u30e0\u304c\u5b9f\u969b\u306b\u56de\u7b54\u3092\u5fc5\u8981\u3068\u3059\u308b\u8cea\u554f\u306f\u5217\u306b\u95a2\u3059\u308b\u8cea\u554f\u3067\u3042\u308a\u3001\u30c6\u30fc\u30d6\u30eb\u30ec\u30d9\u30eb\u306e\u7c92\u5ea6\u3067\u306f\u904e\u5927\u8a55\u4fa1\u305b\u3056\u308b\u3092\u5f97\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u8cea\u554f<\/th><th>\u30c6\u30fc\u30d6\u30eb\u30ec\u30d9\u30eb\u306e\u56de\u7b54<\/th><th>\u5217\u30ec\u30d9\u30eb\u306e\u56de\u7b54<\/th><\/tr><\/thead><tbody>\n<tr><td>\u540d\u524d\u3092\u5909\u66f4\u3059\u308b\u3068\u4f55\u304c\u58ca\u308c\u307e\u3059\u304b <code>\u9867\u5ba2\u30e1\u30fc\u30eb<\/code>?<\/td><td>\u8aad\u307f\u53d6\u308b\u3059\u3079\u3066\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8 <code>\u9867\u5ba2<\/code> \u2014 \u3057\u3070\u3057\u3070\u6570\u5341\u4ef6\u306e\u8aa4\u691c\u51fa\u304c\u767a\u751f\u3059\u308b<\/td><td>\u53c2\u7167\u3059\u308b\u898b\u89e3\u3001\u624b\u9806\u3001\u304a\u3088\u3073\u5831\u544a\u306e\u307f <code>\u30e1\u30fc\u30eb<\/code> \u5177\u4f53\u7684\u306b\u306f<\/td><\/tr>\n<tr><td>\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3053\u306e\u9593\u9055\u3063\u305f\u6570\u5b57\u306f\u3069\u3053\u304b\u3089\u6765\u3066\u3044\u308b\u306e\u3067\u3059\u304b\uff1f<\/td><td>\u300c\u3053\u308c\u30894\u3064\u306e\u30c6\u30fc\u30d6\u30eb\u306e\u4e0a\u6d41\u306e\u3069\u3053\u304b\u306b\u300d<\/td><td>\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u30d5\u30a3\u30fc\u30eb\u30c9\u304b\u3089\u7269\u7406\u30bd\u30fc\u30b9\u5217\u3078\u306e\u6b63\u78ba\u306a\u5f0f\u30c1\u30a7\u30fc\u30f3<\/td><\/tr>\n<tr><td>\u3069\u306e\u51fa\u529b\u306bPII\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u304b\uff1f <code>ssn<\/code>?<\/td><td>\u30bd\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u306e\u4e0b\u6d41\u306b\u3042\u308b\u3059\u3079\u3066\u306e\u30c6\u30fc\u30d6\u30eb\u306f\u3001 <code>ssn<\/code> \u4f1d\u64ad\u3059\u308b<\/td><td>\u6b63\u78ba\u306a\u5217\u306e\u30bb\u30c3\u30c8 <code>ssn<\/code> \u5b9f\u969b\u306b\u4fa1\u5024\u304c\u5230\u9054\u3059\u308b<\/td><\/tr>\n<tr><td>\u3053\u306e\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u5217\u3092\u524a\u9664\u3067\u304d\u307e\u3059\u304b\uff1f<\/td><td>\u4e0d\u660e \u2014 \u30c6\u30fc\u30d6\u30eb\u304c\u53c2\u7167\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001<\/td><td>\u306f\u3044\u3001\u4e0b\u6d41\u306e\u5217\u304c\u76f4\u63a5\u7684\u307e\u305f\u306f\u9593\u63a5\u7684\u306b\u8aad\u307f\u53d6\u3089\u306a\u3044\u5834\u5408\u306f<\/td><\/tr>\n<\/tbody><\/table><\/figure>\n\n\n\n<p>\u8aa4\u691c\u51fa\u306b\u3088\u308b\u30b3\u30b9\u30c8\u306f\u3001\u6c7a\u3057\u3066\u673a\u4e0a\u306e\u7a7a\u8ad6\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u30b9\u30ad\u30fc\u30de\u5909\u66f4\u306b\u3088\u3063\u3066\u30c6\u30fc\u30d6\u30eb\u30ec\u30d9\u30eb\u306740\u500b\u306e\u30c0\u30a6\u30f3\u30b9\u30c8\u30ea\u30fc\u30e0\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u304c\u30d5\u30e9\u30b0\u4ed8\u3051\u3055\u308c\u305f\u3068\u3057\u3066\u3082\u3001\u5b9f\u969b\u306b\u5909\u66f4\u3055\u308c\u305f\u5217\u3092\u4f7f\u7528\u3059\u308b\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u304c3\u500b\u3060\u3051\u3067\u3042\u308c\u3070\u3001\u6b8b\u308a\u306e37\u500b\u306f\u4e0d\u5fc5\u8981\u306b\u518d\u30c6\u30b9\u30c8\u3055\u308c\u308b\u304b\u3001\u3055\u3089\u306b\u60aa\u3044\u3053\u3068\u306b\u3001\u30c1\u30fc\u30e0\u304c\u30c7\u30fc\u30bf\u30ea\u30cd\u30fc\u30b8\u30c4\u30fc\u30eb\u3092\u7121\u8996\u3059\u308b\u3088\u3046\u306b\u306a\u308b\u539f\u56e0\u3068\u306a\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30ea\u30cd\u30fc\u30b8\u306e\u4fe1\u983c\u6027\u306f\u7cbe\u5ea6\u306b\u3088\u3063\u3066\u6c7a\u307e\u308a\u3001\u305d\u306e\u7cbe\u5ea6\u306f\u5217\u30ec\u30d9\u30eb\u3067\u3053\u305d\u767a\u63ee\u3055\u308c\u308b\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5177\u4f53\u7684\u306a\u4f8b\uff1aCTE\u3001\u7d50\u5408\u3001\u96c6\u8a08\u3092\u4ecb\u3057\u305f1\u3064\u306e\u5217<\/h2>\n\n\n\n<p>\u3053\u3053\u306b\u3001\u5c0f\u3055\u304f\u3066\u3082\u73fe\u5b9f\u7684\u306a\u30af\u30a8\u30ea\u304c\u3042\u308a\u307e\u3059\u3002\u76ee\u6a19: <code>\u7dcf\u53ce\u76ca<\/code> \u7531\u6765\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>WITH recent_orders AS ( SELECT o.order_id, o.customer_id, o.amount, o.status FROM orders o WHERE o.order_date &gt;= DATE &#039;2026-01-01&#039; ) SELECT c.region, SUM(r.amount) AS total_revenue FROM recent_orders r JOIN customers c ON c.customer_id = r.customer_id WHERE r.status = &#039;COMPLETED&#039; GROUP BY c.region;<\/code><\/pre>\n\n\n\n<p>\u89e3\u6c7a\u3059\u308b <code>\u7dcf\u53ce\u76ca<\/code> 3\u56de\u8df3\u3076\uff1a<\/p>\n\n\n\n<ol><li><code>\u7dcf\u53ce\u76ca<\/code> \u306f\u6b21\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3055\u308c\u308b\u3002 <code>SUM(r.amount)<\/code>\u305d\u306e\u305f\u3081\u3001\u305d\u306e\u5024\u306f\u5217\u304b\u3089\u53d6\u5f97\u3055\u308c\u307e\u3059 <code>\u984d<\/code> \u95a2\u4fc2\u306e\u30a8\u30a4\u30ea\u30a2\u30b9 <code>r<\/code>\u96c6\u8a08\u95a2\u6570\u3092\u901a\u3057\u3066\u6e21\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><code>r<\/code> \u3053\u308c\u306f\u30c6\u30fc\u30d6\u30eb\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u306fCTE\u3067\u3059\u3002 <code>\u6700\u8fd1\u306e\u6ce8\u6587<\/code>\u3001 \u3060\u308c\u306e <code>\u984d<\/code> \u5217\u306f\u30d1\u30b9\u30b9\u30eb\u30fc\u3067\u3059 <code>\u6ce8\u6587\u6570<\/code>\u7269\u7406\u30bd\u30fc\u30b9\u304c\u5224\u660e\u3059\u308b\u524d\u306b\u3001\u30a8\u30a4\u30ea\u30a2\u30b9\u3001CTE\u3001\u304a\u3088\u3073\u5217\u5c04\u5f71\u306e\u3059\u3079\u3066\u3092\u89e3\u6c7a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li>\u3057\u305f\u304c\u3063\u3066\u3001\u5b8c\u5168\u306a\u76f4\u7cfb\u5bb6\u7cfb\u306f\u5358\u4e00\u306e\u7269\u7406\u7684\u306a\u67f1\u3068\u306a\u308b\u3002 <code>\u6ce8\u6587\u6570<\/code> \u2192 <code>\u6700\u8fd1\u306e\u6ce8\u6587\u6570<\/code> \u2192 <code>\u548c\uff08\uff09<\/code> \u2192 <code>\u7dcf\u53ce\u76ca<\/code>.<\/li><\/ol>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u7d50\u679c\u306b\u306f\u76f4\u63a5\u73fe\u308c\u306a\u3044\u3082\u306e\u306e\u3001\u7d50\u679c\u3092\u5de6\u53f3\u3059\u308b5\u3064\u306e\u5217\u304c\u5b58\u5728\u3059\u308b\u3002 <code>\u6ce8\u6587\u65e5<\/code> CTE \u5185\u306e\u884c\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3057\u307e\u3059\u3002 <code>\u6ce8\u6587\u72b6\u6cc1<\/code> \u5916\u5074\u3067\u518d\u3073\u6ffe\u904e\u3059\u308b <code>\u3069\u3053<\/code>, <code>\u6ce8\u6587\u306e\u9867\u5ba2ID<\/code> \u3068 <code>\u9867\u5ba2.\u9867\u5ba2ID<\/code> \u3069\u306e\u884c\u304c\u7d50\u5408\u3059\u308b\u304b\u3092\u6c7a\u5b9a\u3057\u3001 <code>\u9867\u5ba2\u5730\u57df<\/code> \u884c\u3092\u96c6\u8a08\u30d0\u30b1\u30c3\u30c8\u306b\u30b0\u30eb\u30fc\u30d7\u5316\u3059\u308b\u65b9\u6cd5\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30bb\u30de\u30f3\u30c6\u30a3\u30af\u30b9\u3092\u5909\u66f4\u3057\u3066\u3001 <code>\u7dcf\u53ce\u76ca<\/code> \u5909\u66f4\u306f\u3001\u305d\u308c\u3089\u306e\u5024\u304c\u51fa\u529b\u306b\u53cd\u6620\u3055\u308c\u306a\u304f\u3066\u3082\u767a\u751f\u3057\u307e\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u691c\u7d22\u3067\u306f\u3001\u300c\u3053\u306e\u30af\u30a8\u30ea\u306f <code>\u6ce8\u6587<\/code> \u3068 <code>\u9867\u5ba2<\/code>\u300c\u5217\u30ec\u30d9\u30eb\u306e\u7cfb\u7d71\u306f\u3001\u3069\u306e\u5217\u304c\u5024\u3092\u4fdd\u6301\u3057\u3001\u3069\u306e 5 \u3064\u306e\u5217\u304c\u305d\u306e\u5024\u3092\u5236\u5fa1\u3057\u3066\u3044\u308b\u304b\u3092\u793a\u3057\u307e\u3059\u3002\u300d<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u76f4\u63a5\u7684\u306a\u7cfb\u7d71\u3068\u9593\u63a5\u7684\u306a\u7cfb\u7d71\uff1afdd\/fddi\u306e\u533a\u5225<\/h2>\n\n\n\n<p>\u3053\u308c\u3089\u306e2\u7a2e\u985e\u306e\u95a2\u4fc2\u306b\u306f\u3001\u305d\u308c\u305e\u308c\u5225\u306e\u540d\u524d\u304c\u3075\u3055\u308f\u3057\u3044\u3002Gudu SQLFlow\u306e\u7cfb\u7d71\u30e2\u30c7\u30eb\u3067\u306f\u3001 <strong>\u76f4\u63a5\u30c7\u30fc\u30bf\u30d5\u30ed\u30fc<\/strong> \uff08\u30e9\u30d9\u30eb\u4ed8\u304d\uff09 <code>fdd<\/code>) \u306f\u3001\u30bd\u30fc\u30b9\u5217\u306e\u5024\u304c\u3001\u95a2\u6570\u3001\u30ad\u30e3\u30b9\u30c8\u3001\u307e\u305f\u306f\u96c6\u8a08\u306b\u3088\u3063\u3066\u5909\u63db\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u5217\u306b\u6d41\u308c\u8fbc\u3080\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002 <strong>\u9593\u63a5\u30c7\u30fc\u30bf\u30d5\u30ed\u30fc<\/strong> \uff08\u30e9\u30d9\u30eb\u4ed8\u304d\uff09 <code>fddi<\/code>) \u306f\u3001\u30bd\u30fc\u30b9\u5217\u304c\u5024\u3092\u63d0\u4f9b\u305b\u305a\u306b\u30bf\u30fc\u30b2\u30c3\u30c8\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002 <code>\u3069\u3053<\/code> \u8ff0\u8a9e\u3001 <code>\u53c2\u52a0\u3059\u308b<\/code> \u6761\u4ef6\u3001 <code>\u30b0\u30eb\u30fc\u30d7\u5206\u3051<\/code> \u9375\u3001\u304a\u3088\u3073\u540c\u69d8\u306e\u7bc0\u3002<\/p>\n\n\n\n<p>SQLFlow \u3067\u306f\u3001\u3053\u308c\u3089\u3092\u30c0\u30a4\u30a2\u30b0\u30e9\u30e0\u4e0a\u3067\u500b\u5225\u306b\u5207\u308a\u66ff\u3048\u53ef\u80fd\u306a\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u30b7\u30c3\u30d7 \u30bf\u30a4\u30d7\u3068\u3057\u3066\u30e2\u30c7\u30eb\u5316\u3057\u307e\u3059\u3002\u9593\u63a5\u7684\u306a\u30ea\u30cd\u30fc\u30b8\u3092\u30aa\u30d5\u306b\u3059\u308b\u3068\u3001\u7d14\u7c8b\u306a\u5024\u306e\u7531\u6765\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u3069\u306e\u30bd\u30fc\u30b9 \u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u898f\u5236\u5bfe\u8c61\u30ec\u30dd\u30fc\u30c8\u306b\u53cd\u6620\u3055\u308c\u308b\u304b\u3092\u8a3c\u660e\u3059\u308b\u969b\u306b\u76e3\u67fb\u62c5\u5f53\u8005\u304c\u5fc5\u8981\u3068\u3059\u308b\u30d3\u30e5\u30fc\u3067\u3059\u3002\u30aa\u30f3\u306b\u3059\u308b\u3068\u3001\u5f71\u97ff\u7bc4\u56f2\u5168\u4f53\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30d5\u30a3\u30eb\u30bf \u30ab\u30e9\u30e0\u3092\u524a\u9664\u3059\u308b\u3068\u3001\u4e0b\u6d41\u306e\u3059\u3079\u3066\u306e\u96c6\u8a08\u304c\u30b5\u30a4\u30ec\u30f3\u30c8\u306b\u5909\u66f4\u3055\u308c\u308b\u305f\u3081\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u30ab\u30e9\u30e0\u3092\u64cd\u4f5c\u3059\u308b\u524d\u306b\u5fc5\u8981\u3068\u3059\u308b\u30d3\u30e5\u30fc\u3067\u3059\u3002\u7af6\u5408\u3059\u308b\u307b\u3068\u3093\u3069\u306e\u30ea\u30cd\u30fc\u30b8 \u30c4\u30fc\u30eb\u306f\u3001\u3053\u306e\u533a\u5225\u3092\u5168\u304f\u884c\u3044\u307e\u305b\u3093\u3002\u76f4\u63a5\u30d5\u30ed\u30fc\u306e\u307f\u3092\u5831\u544a\u3057\u3066\u5b9f\u969b\u306e\u5f71\u97ff\u3092\u898b\u9003\u3059\u304b\u3001\u3059\u3079\u3066\u3092\u307e\u3068\u3081\u3066\u8868\u793a\u3057\u3001\u56de\u907f\u3059\u308b\u305f\u3081\u306b\u30ab\u30e9\u30e0 \u30ec\u30d9\u30eb\u306b\u79fb\u52d5\u3057\u305f\u8aa4\u691c\u51fa\u3092\u518d\u3073\u5c0e\u5165\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u306a\u305c\u6b63\u898f\u8868\u73fe\u3067\u306f\u306a\u304f\u610f\u5473\u89e3\u6790\u304c\u5fc5\u8981\u306a\u306e\u304b<\/h2>\n\n\n\n<p>\u30c6\u30fc\u30d6\u30eb\u540d\u3084\u5217\u540d\u3092SQL\u30c6\u30ad\u30b9\u30c8\u3067\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u30f3\u30b0\u3057\u3066\u30c7\u30fc\u30bf\u7cfb\u5217\u3092\u62bd\u51fa\u3057\u305f\u304f\u306a\u308b\u6c17\u6301\u3061\u306f\u7406\u89e3\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306f\u3001\u5b9f\u969b\u306eSQL\u3067\u3088\u304f\u898b\u3089\u308c\u308b\u69cb\u9020\u306b\u307e\u3055\u306b\u5f15\u3063\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul><li><strong>\u661f\u306e\u81a8\u5f35\u3002<\/strong> <code>\u9078\u629e *<\/code> \u5217\u540d\u306f\u4e00\u5207\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u3069\u306e\u5217\u304c\u901a\u904e\u3059\u308b\u304b\u306f\u3001\u5206\u6790\u6642\u306e\u57fa\u3068\u306a\u308b\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u30b9\u30ad\u30fc\u30de\u3001\u304a\u3088\u3073\u7d50\u5408\u306e\u5834\u5408\u306f\u3001\u7d50\u5408\u3055\u308c\u305f\u3059\u3079\u3066\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u7d50\u5408\u3055\u308c\u305f\u30b9\u30ad\u30fc\u30de\u306b\u4f9d\u5b58\u3057\u307e\u3059\u3002\u89e3\u6c7a <code>*<\/code> \u30e1\u30bf\u30c7\u30fc\u30bf\u3068\u30b9\u30b3\u30fc\u30d7\u30eb\u30fc\u30eb\u304c\u5fc5\u8981\u3067\u3059\u3002\u30c6\u30ad\u30b9\u30c8\u30d1\u30bf\u30fc\u30f3\u3067\u306f\u5217\u30ea\u30b9\u30c8\u3092\u751f\u6210\u3067\u304d\u307e\u305b\u3093\u3002<\/li>\n<li><strong>\u89e3\u50cf\u5ea6\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/strong> \u30af\u30a8\u30ea\u304c\u8aad\u307f\u53d6\u3089\u308c\u308b\u3068\u304d <code>v_sales.net_amount<\/code>\u771f\u306e\u7cfb\u8b5c\u306f\u30d3\u30e5\u30fc\u306e\u5b9a\u7fa9\u3092\u901a\u3057\u3066\u8fbf\u3089\u308c\u3001\u30d3\u30e5\u30fc\u306f\u901a\u5e38\u3001\u4ed6\u306e\u30d3\u30e5\u30fc\u306e\u4e0a\u306b\u7a4d\u307f\u91cd\u306d\u3089\u308c\u307e\u3059\u3002\u30a2\u30ca\u30e9\u30a4\u30b6\u30fc\u306f\u5404\u5b9a\u7fa9\u3092\u518d\u5e30\u7684\u306b\u5c55\u958b\u3057\u3001\u5217\u30de\u30c3\u30d4\u30f3\u30b0\u3092\u7d50\u5408\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u6587\u5b57\u5217\u3067\u306f\u306a\u304f\u3001\u89e3\u6c7a\u6e08\u307f\u306e\u610f\u5473\u30e2\u30c7\u30eb\u306b\u5bfe\u3059\u308b\u64cd\u4f5c\u3067\u3059\u3002<\/li>\n<li><strong>\u7bc4\u56f2\u3068\u66d6\u6627\u3055\u3002<\/strong> \u8cc7\u683c\u306e\u306a\u3044\u30b3\u30e9\u30e0 <code>\u72b6\u614b<\/code> 3\u3064\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u7d50\u5408\u3059\u308b\u5834\u5408\u3001SQL\u306e\u30b9\u30b3\u30fc\u30d7\u898f\u5247\u3068\u30c6\u30fc\u30d6\u30eb\u306e\u30b9\u30ad\u30fc\u30de\u306b\u3088\u3063\u3066\u6c7a\u5b9a\u3055\u308c\u308b\u3001\u6b63\u78ba\u306b1\u3064\u306e\u30ea\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u307f\u306b\u5c5e\u3057\u307e\u3059\u3002\u8aa4\u3063\u305f\u63a8\u6e2c\u3092\u3059\u308b\u3068\u3001\u30ea\u30cd\u30fc\u30b8\u30b0\u30e9\u30d5\u304c\u9759\u304b\u306b\u7834\u640d\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u8868\u73fe\u3002<\/strong> <code>COALESCE(ax, by)<\/code>, <code>\u5834\u5408<\/code> \u30d6\u30e9\u30f3\u30c1\u3068\u30a6\u30a3\u30f3\u30c9\u30a6\u95a2\u6570\u306f\u305d\u308c\u305e\u308c\u3001\u7570\u306a\u308b\u4e00\u9023\u306e\u5bc4\u4e0e\u5217\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u3092\u6349\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u306f\u3001\u771f\u306e\u5f0f\u30c4\u30ea\u30fc\u3060\u3051\u3067\u3059\u3002<\/li>\n<li><strong>\u65b9\u8a00\u3002<\/strong> \u30aa\u30e9\u30af\u30eb\u306e <code>\u63a5\u7d9a\u65b9\u6cd5<\/code>T-SQL\u306e <code>\u51fa\u529b<\/code> \u6761\u9805\u3001BigQuery\u306e <code>\u3092\u9664\u5916\u3059\u308b<\/code> \u661f\u5370\u30ea\u30b9\u30c8\u306b\u3088\u308b\u3068\u3001\u5404\u65b9\u8a00\u306b\u306f\u3001\u6c4e\u7528ANSI\u6587\u6cd5\u3067\u306f\u6b63\u3057\u304f\u89e3\u6790\u3067\u304d\u306a\u3044\u69cb\u6587\u304c\u5b58\u5728\u3057\u307e\u3059\u3002SQLFlow\u306f\u3001\u6700\u5c0f\u516c\u500d\u6570\u7684\u306a\u5358\u4e00\u306e\u6587\u6cd5\u3067\u306f\u306a\u304f\u300139\u7a2e\u985e\u306e\u65b9\u8a00\u56fa\u6709\u306e\u30d1\u30fc\u30b5\u30fc\u3092\u540c\u68b1\u3057\u3066\u3044\u307e\u3059\u3002<\/li><\/ul>\n\n\n\n<p>In short, accurate column-level lineage is a compiler problem. SQLFlow is built on the General SQL Parser, a full SQL compiler front-end (lexer, parser, semantic resolver, data-flow analyzer) developed commercially since the mid-2000s and validated against roughly 13,600 per-dialect SQL test fixtures. The same engine resolves the hardest cases: stored procedure bodies in Oracle PL\/SQL and SQL Server T-SQL, lineage through procedure parameters and temp tables, and dynamic SQL assembled inside procedures.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5217\u30ec\u30d9\u30eb\u306e\u7cfb\u7d71\u3092\u5b9f\u969b\u306b\u53d6\u5f97\u3059\u308b<\/h2>\n\n\n\n<p>Gudu SQLFlow \u306f\u81ea\u52d5\u5316\u3055\u308c\u305f <a href=\"https:\/\/www.gudusoft.com\/jp\/sql-data-lineage-tool\/\">SQL\u30c7\u30fc\u30bf\u30ea\u30cd\u30fc\u30b8\u30c4\u30fc\u30eb<\/a> \u3053\u306e\u30da\u30fc\u30b8\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u5217\u30ec\u30d9\u30eb\u306e\u30b0\u30e9\u30d5\u3092\u3001\u8cbc\u308a\u4ed8\u3051\u305f\u30af\u30a8\u30ea\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3001JDBC\u7d4c\u7531\u306e\u30e9\u30a4\u30d6\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30e1\u30bf\u30c7\u30fc\u30bf\u3001dbt\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u3001Snowflake\u30af\u30a8\u30ea\u5c65\u6b74\u3001Redshift\u30af\u30a8\u30ea\u30ed\u30b0\u306a\u3069\u3001\u3042\u3089\u3086\u308bSQL\u30c7\u30fc\u30bf\u304b\u3089\u751f\u6210\u3057\u307e\u3059\u3002\u51fa\u529b\u306f\u3001\u5217\u3054\u3068\u306b\u30c9\u30ea\u30eb\u30c0\u30a6\u30f3\u3067\u304d\u308b\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306a\u56f3\u3001JSON\u307e\u305f\u306fCSV\u5f62\u5f0f\u306e\u69cb\u9020\u5316\u3055\u308c\u305f\u30c7\u30fc\u30bf\u7cfb\u5217\u30c7\u30fc\u30bf\u3001PNG\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3001\u304a\u3088\u3073REST API\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u898f\u6a21\u3067\u306f\u3001100\u4ee5\u4e0a\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068100\u4e07\u4ee5\u4e0a\u306e\u5217\u304b\u3089\u306a\u308b\u74b0\u5883\u3092\u30d0\u30c3\u30c1\u30b9\u30ad\u30e3\u30f3\u3057\u3001\u6c38\u7d9a\u7684\u306a\u30ea\u30cd\u30fc\u30b8\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5bfe\u3057\u3066\u5897\u5206\u30b9\u30ad\u30e3\u30f3\u3092\u5b9f\u884c\u3057\u3001DataHub\u3001Microsoft Purview\u3001\u304a\u3088\u3073OpenMetadata\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3059\u308b\u305f\u3081\u3001\u5217\u30ec\u30d9\u30eb\u306e\u30ea\u30cd\u30fc\u30b8\u3092\u65e2\u5b58\u306e\u30ab\u30bf\u30ed\u30b0\u5185\u306b\u4fdd\u6301\u3067\u304d\u307e\u3059\u3002\u5206\u6790\u306f\u9759\u7684\u3067\u3042\u308b\u305f\u3081\u3001SQLFlow\u306fSQL\u30b3\u30fc\u30c9\u3068\u30b9\u30ad\u30fc\u30de\u30e1\u30bf\u30c7\u30fc\u30bf\u306e\u307f\u3092\u8aad\u307f\u53d6\u308a\u3001\u30c6\u30fc\u30d6\u30eb\u306e\u884c\u3092\u8aad\u307f\u53d6\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u7248\u3067\u306fSQL\u30c6\u30ad\u30b9\u30c8\u306f\u3059\u3079\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306b\u4fdd\u6301\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306a\u30c8\u30ec\u30fc\u30b9\u3092\u30b5\u30d6\u30af\u30a8\u30ea\u3001\u30d3\u30e5\u30fc\u3001\u30b9\u30c8\u30a2\u30c9\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3001dbt \u30e2\u30c7\u30eb\u306b\u308f\u305f\u3063\u3066\u3055\u3089\u306b\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u5834\u5408\u306f\u3001\u5f53\u793e\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002 <a href=\"https:\/\/www.gudusoft.com\/jp\/%e3%83%87%e3%83%bc%e3%82%bf%e7%b3%bb%e7%b5%b1%e3%81%ae%e4%be%8b\/\">\u4f5c\u696d\u6e08\u307f\u30c7\u30fc\u30bf\u30ea\u30cd\u30fc\u30b8\u306e\u4f8b<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c6\u30fc\u30d6\u30eb\u30ec\u30d9\u30eb\u306e\u30c7\u30fc\u30bf\u30ea\u30cd\u30fc\u30b8\u3068\u30ab\u30e9\u30e0\u30ec\u30d9\u30eb\u306e\u30c7\u30fc\u30bf\u30ea\u30cd\u30fc\u30b8\u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n\n\n<p>\u30c6\u30fc\u30d6\u30eb\u30ec\u30d9\u30eb\u306e\u7cfb\u7d71\u8a18\u9332\u3067\u306f\u3001\u3069\u306e\u30c6\u30fc\u30d6\u30eb\u3068\u30d3\u30e5\u30fc\u304c\u3069\u306e\u30c6\u30fc\u30d6\u30eb\u3068\u30d3\u30e5\u30fc\u306b\u30c7\u30fc\u30bf\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u304b\u304c\u8a18\u9332\u3055\u308c\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30da\u30a2\u3054\u3068\u306b1\u3064\u306e\u30a8\u30c3\u30b8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002\u5217\u30ec\u30d9\u30eb\u306e\u7cfb\u7d71\u8a18\u9332\u3067\u306f\u3001\u51fa\u529b\u5217\u3054\u3068\u306b\u3001\u305d\u306e\u5217\u306b\u30c7\u30fc\u30bf\u3092\u63d0\u4f9b\u3057\u3066\u3044\u308b\u6b63\u78ba\u306a\u30bd\u30fc\u30b9\u5217\u3068\u9069\u7528\u3055\u308c\u305f\u5909\u63db\u304c\u8a18\u9332\u3055\u308c\u307e\u3059\u3002\u5217\u30ec\u30d9\u30eb\u306e\u7c92\u5ea6\u306b\u3088\u3063\u3066\u3001\u5f71\u97ff\u5206\u6790\u306b\u304a\u3051\u308b\u8aa4\u691c\u51fa\u304c\u6392\u9664\u3055\u308c\u3001\u76e3\u67fb\u7d50\u679c\u306e\u7cbe\u5ea6\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u9593\u63a5\u7684\uff08\u5f71\u97ff\uff09\u7cfb\u8b5c\u3068\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n\n\n<p>\u9593\u63a5\u7684\u306a\u30c7\u30fc\u30bf\u30d5\u30ed\u30fc\u306f\u3001\u30bd\u30fc\u30b9\u5217\u3092\u3001\u305d\u306e\u5024\u81ea\u4f53\u306b\u306f\u5bc4\u4e0e\u3057\u306a\u3044\u3082\u306e\u306e\u3001\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u51fa\u529b\u306b\u30ea\u30f3\u30af\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u306f\u3001WHERE\u53e5\u3001JOIN\u6761\u4ef6\u3001GROUP BY\u30ad\u30fc\u3001\u304a\u3088\u3073\u96c6\u8a08\u8ff0\u8a9e\u5185\u306e\u5217\u304c\u542b\u307e\u308c\u307e\u3059\u3002SQLFlow\u3067\u306f\u3001\u3053\u308c\u3092\u72ec\u7acb\u3057\u305f\u95a2\u4fc2\u30bf\u30a4\u30d7\uff08fddi\uff09\u3068\u3057\u3066\u30e2\u30c7\u30eb\u5316\u3057\u3001\u56f3\u306e\u4e2d\u3067\u76f4\u63a5\u30c7\u30fc\u30bf\u30d5\u30ed\u30fc\uff08fdd\uff09\u3068\u306f\u5225\u306b\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u6b63\u898f\u8868\u73fe\u3084grep\u3092\u4f7f\u3063\u3066\u3001\u5217\u30ec\u30d9\u30eb\u306e\u30c7\u30fc\u30bf\u7cfb\u5217\u3092\u62bd\u51fa\u3067\u304d\u307e\u3059\u304b\uff1f<\/h3>\n\n\n<p>\u78ba\u5b9f\u306b\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u30b9\u30bf\u30fc\u5c55\u958b\u3001\u30d3\u30e5\u30fc\u89e3\u6c7a\u3001\u4fee\u98fe\u3055\u308c\u3066\u3044\u306a\u3044\u5217\u540d\u3001CASE\u3084COALESCE\u306a\u3069\u306e\u5f0f\u306f\u3059\u3079\u3066\u3001SQL\u3068\u30b9\u30ad\u30fc\u30de\u30e1\u30bf\u30c7\u30fc\u30bf\u306e\u5b9f\u969b\u306e\u89e3\u6790\u304b\u3089\u69cb\u7bc9\u3055\u308c\u305f\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af\u30e2\u30c7\u30eb\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u30f3\u30b0\u3067\u306f\u30c6\u30fc\u30d6\u30eb\u540d\u306f\u7279\u5b9a\u3067\u304d\u307e\u3059\u304c\u3001\u3069\u306e\u5217\u304c\u3069\u3053\u306b\u6d41\u308c\u308b\u304b\u3092\u89e3\u6c7a\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d3\u30e5\u30fc\u3084SELECT * \u3092\u901a\u3058\u3066\u3001\u5217\u30ec\u30d9\u30eb\u306e\u7cfb\u7d71\u60c5\u5831\u306f\u6a5f\u80fd\u3057\u307e\u3059\u304b\uff1f<\/h3>\n\n\n<p>\u306f\u3044\u3001\u30c4\u30fc\u30eb\u304c\u305d\u308c\u3089\u3092\u89e3\u6c7a\u3059\u308c\u3070\u53ef\u80fd\u3067\u3059\u3002SQLFlow\u306f\u3001\u30b9\u30ad\u30fc\u30de\u30e1\u30bf\u30c7\u30fc\u30bf\u306b\u5bfe\u3057\u3066SELECT *\u3092\u5c55\u958b\u3057\u3001\u30d3\u30e5\u30fc\u3001CTE\u3001\u30b5\u30d6\u30af\u30a8\u30ea\u3092\u901a\u3058\u3066\u5217\u53c2\u7167\u3092\u518d\u5e30\u7684\u306b\u89e3\u6c7a\u3059\u308b\u305f\u3081\u3001\u6700\u7d42\u7684\u306a\u51fa\u529b\u5217\u304b\u3089\u7269\u7406\u7684\u306a\u30bd\u30fc\u30b9\u5217\u307e\u3067\u3001\u30c7\u30fc\u30bf\u306e\u6d41\u308c\u3092\u8ffd\u8de1\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b9\u30c8\u30a2\u30c9\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u3068\u52d5\u7684SQL\u306e\u4e21\u65b9\u3067\u52d5\u4f5c\u3057\u307e\u3059\u304b\uff1f<\/h3>\n\n\n<p>\u306f\u3044\u3002SQLFlow\u306b\u306f\u3001Oracle PL\/SQL\u3068SQL Server T-SQL\u5c02\u7528\u306e\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u30d1\u30fc\u30b5\u30fc\u304c\u3042\u308a\u3001\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u4e00\u6642\u30c6\u30fc\u30d6\u30eb\u3092\u4ecb\u3057\u305f\u5c65\u6b74\u3092\u8ffd\u8de1\u3057\u3001\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u5185\u3067\u7d44\u307f\u7acb\u3066\u3089\u308c\u305f\u52d5\u7684SQL\u3092\u89e3\u6c7a\u3057\u3001\u30d7\u30ed\u30b7\u30fc\u30b8\u30e3\u9593\u306e\u547c\u3073\u51fa\u3057\u306e\u30b3\u30fc\u30eb\u30b0\u30e9\u30d5\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u81ea\u5206\u306eSQL\u306e\u5217\u30ec\u30d9\u30eb\u306e\u30c7\u30fc\u30bf\u7cfb\u5217\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3088\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n<p>SQLFlow Cloud\u306e\u7121\u6599\u30d7\u30e9\u30f3\u306b\u30af\u30a8\u30ea\u3092\u8cbc\u308a\u4ed8\u3051\u308b\u3068\u3001\u5217\u30ec\u30d9\u30eb\u306e\u56f3\u304c\u30d6\u30e9\u30a6\u30b6\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5168\u4f53\u306e\u5834\u5408\u306f\u3001JDBC\u7d4c\u7531\u3067\u63a5\u7d9a\u3059\u308b\u304b\u3001dbt\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u898f\u5236\u74b0\u5883\u306e\u5834\u5408\u306f\u3001SQLFlow On-Premise\u304c\u81ea\u793e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5185\u306eDocker\u307e\u305f\u306fKubernetes\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-group alignfull has-background is-layout-constrained\" style=\"background-color:#60d5f6;padding-top:32px;padding-bottom:32px\"><div class=\"wp-block-group__inner-container\">\n\n<h2 class=\"wp-block-heading\">\u6700\u521d\u306e\u30b3\u30e9\u30e0\u306e\u51fa\u5178\u5143\u3092\u305f\u3069\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/h2>\n\n\n<p>\u3053\u306e\u30da\u30fc\u30b8\u306b\u3042\u308b\u30b5\u30f3\u30d7\u30eb\u30af\u30a8\u30ea\u3001\u307e\u305f\u306f\u6700\u3082\u8907\u96d1\u306a\u672c\u756a\u74b0\u5883\u7528SQL\u3092\u8cbc\u308a\u4ed8\u3051\u3001\u51fa\u529b\u5217\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u305d\u306e\u30af\u30a8\u30ea\u306e\u76f4\u63a5\u304a\u3088\u3073\u9593\u63a5\u7684\u306a\u5c65\u6b74\u5168\u4f53\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-buttons is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/sqlflow.gudusoft.com\/?utm_source=gudusoft&amp;utm_medium=website&amp;utm_campaign=column-level-data-lineage\" target=\"_blank\" rel=\"noreferrer noopener\">SQLFlow\u3092\u7121\u6599\u3067\u304a\u8a66\u3057\u304f\u3060\u3055\u3044<\/a><\/div>\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.gudusoft.com\/jp\/%e3%82%b3%e3%83%b3%e3%82%bf%e3%82%af%e3%83%88\/\">\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u5411\u3051\u30c7\u30e2\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308b<\/a><\/div>\n<\/div>\n\n<\/div><\/div>\n\n\n\n<script type=\"application\/ld+json\">{\n    \"@context\": \"https:\\\/\\\/schema.org\",\n    \"@graph\": [\n        {\n            \"@type\": \"TechArticle\",\n            \"headline\": \"Column-Level Data Lineage: What It Is and Why Table-Level Isn't Enough\",\n            \"description\": \"Column-level data lineage maps every output column back to its exact source columns and transformations. A worked SQL example through a CTE, join, and aggregate, the direct vs indirect (fdd\\\/fddi) distinction, and why star expansion and view resolution require semantic parsing.\",\n            \"author\": {\n                \"@type\": \"Organization\",\n                \"name\": \"Gudu Software\",\n                \"url\": \"https:\\\/\\\/www.gudusoft.com\\\/\"\n            },\n            \"publisher\": {\n                \"@type\": \"Organization\",\n                \"name\": \"Gudu Software\",\n                \"url\": \"https:\\\/\\\/www.gudusoft.com\\\/\"\n            }\n        },\n        {\n            \"@type\": \"FAQPage\",\n            \"mainEntity\": [\n                {\n                    \"@type\": \"Question\",\n                    \"name\": \"What is the difference between table-level and column-level data lineage?\",\n                    \"acceptedAnswer\": {\n                        \"@type\": \"Answer\",\n                        \"text\": \"Table-level lineage records which tables and views feed which, one edge per object pair. Column-level lineage records, for every output column, the exact source columns that feed it and the transformations applied. Column granularity is what removes false positives from impact analysis and makes audit answers exact.\"\n                    }\n                },\n                {\n                    \"@type\": \"Question\",\n                    \"name\": \"What is indirect (impact) lineage?\",\n                    \"acceptedAnswer\": {\n                        \"@type\": \"Answer\",\n                        \"text\": \"Indirect lineage links a source column to an output it influences without contributing its value: columns in WHERE clauses, JOIN conditions, GROUP BY keys, and aggregate predicates. SQLFlow models it as a separate relationship type (fddi) that you can toggle independently of direct dataflow (fdd) in the diagram.\"\n                    }\n                },\n                {\n                    \"@type\": \"Question\",\n                    \"name\": \"Can I extract column-level lineage with regex or grep?\",\n                    \"acceptedAnswer\": {\n                        \"@type\": \"Answer\",\n                        \"text\": \"Not reliably. Star expansion, view resolution, unqualified column names, and expressions like CASE or COALESCE all require a semantic model built from a real parse of the SQL plus schema metadata. Pattern matching can find table names; it cannot resolve which columns flow where.\"\n                    }\n                },\n                {\n                    \"@type\": \"Question\",\n                    \"name\": \"Does column-level lineage work through views and SELECT *?\",\n                    \"acceptedAnswer\": {\n                        \"@type\": \"Answer\",\n                        \"text\": \"Yes, if the tool resolves them. SQLFlow expands SELECT * against schema metadata and recursively resolves column references through views, CTEs, and subqueries, so lineage runs from the final output column all the way to physical source columns.\"\n                    }\n                },\n                {\n                    \"@type\": \"Question\",\n                    \"name\": \"Does it work on stored procedures and dynamic SQL?\",\n                    \"acceptedAnswer\": {\n                        \"@type\": \"Answer\",\n                        \"text\": \"Yes. SQLFlow has dedicated procedural parsers for Oracle PL\\\/SQL and SQL Server T-SQL, traces lineage through procedure parameters and temp tables, resolves dynamic SQL assembled inside procedures, and renders a call graph of procedure-to-procedure invocations.\"\n                    }\n                },\n                {\n                    \"@type\": \"Question\",\n                    \"name\": \"How do I get column-level lineage for my own SQL?\",\n                    \"acceptedAnswer\": {\n                        \"@type\": \"Answer\",\n                        \"text\": \"Paste a query into SQLFlow Cloud's free tier and the column-level diagram renders in the browser. For whole databases, connect over JDBC or import a dbt manifest; for regulated environments, SQLFlow On-Premise runs in Docker or Kubernetes inside your own network.\"\n                    }\n                }\n            ]\n        }\n    ]\n}<\/script>","protected":false},"excerpt":{"rendered":"<p>Column-level data lineage maps every output column of a query, view, or report back to the exact source columns that produce it, together with each transformation applied along the way: functions, casts, joins, aggregations, and filters. Where table-level lineage says &#8220;table orders feeds table revenue_report&#8220;, column-level lineage says &#8220;revenue_report.total is SUM(orders.amount), filtered by orders.status and grouped by customers.region&#8220;. It is the granularity at which impact analysis, debugging, and audit answers become precise instead of approximate. This page defines the term, walks one output column through a real query with a CTE, a join, and an aggregate, and explains why extracting\u2026<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":5}},"_links":{"self":[{"href":"https:\/\/www.gudusoft.com\/jp\/wp-json\/wp\/v2\/pages\/6746"}],"collection":[{"href":"https:\/\/www.gudusoft.com\/jp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.gudusoft.com\/jp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.gudusoft.com\/jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gudusoft.com\/jp\/wp-json\/wp\/v2\/comments?post=6746"}],"version-history":[{"count":0,"href":"https:\/\/www.gudusoft.com\/jp\/wp-json\/wp\/v2\/pages\/6746\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gudusoft.com\/jp\/wp-json\/wp\/v2\/media?parent=6746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}