Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
なぜSQLはAIぽく見えるのか/why does SQL look AI like
Search
florets1
January 13, 2026
Programming
740
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
January 13, 2026
More Decks by florets1
See All by florets1
データ分析をはじめよう/lets_start_data_analysis
florets1
2
1k
Tableauとggplot2の背景/Background_of_Tableau_and_ggplot2
florets1
0
87
Rで学ぶデータハンドリング入門/Introduction_to_Data_Handling_with_R
florets1
0
160
人工知能はクロスジョインでできている/AI_Is_Built_on_Cross_Joins
florets1
0
110
仮説の取扱説明書/User_Guide_to_a_Hypothesis
florets1
4
480
複式簿記から純資産を排除する/eliminate_net_assets_from_double-entry_bookkeeping
florets1
1
490
カイ二乗検定は何をやっているのか/What_Does_the_Chi-Square_Test_Do
florets1
7
2.5k
直積は便利/direct_product_is_useful
florets1
3
490
butterfly_effect/butterfly_effect_in-house
florets1
1
320
Other Decks in Programming
See All in Programming
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
5k
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
230
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
650
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
180
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
180
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
560
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
120
OSもどきOS
arkw
0
470
AIエージェントの隔離技術の徹底比較
kawayu
0
470
AIとRubyの静的型付け
ukin0k0
0
560
Webフレームワークの ベンチマークについて
yusukebe
0
150
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
150
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Speed Design
sergeychernyshev
33
1.8k
Done Done
chrislema
186
16k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
220
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Claude Code のすすめ
schroneko
67
230k
A Soul's Torment
seathinner
6
2.9k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.2k
Transcript
1 なぜSQLはAIぽく見えるのか 塩見登志和@コグラフ
2 配送計画をSQLで考える 倉庫から工場へ • 出荷の翌日に到着する • 倉庫が稼働している日に出荷 • 工場が稼働している日に到着
3 すべての可能性を列挙する CROSS JOIN すべての組み合わせ 倉庫×工場の関係をすべて作る 条件は「出荷日 < 到着日」
4 最適な出荷日を選ぶ 可能な出荷日の中で最大を選ぶ
5 面白いポイント:逆向きも解けている 「出荷 → 到着」を書いただけで 「到着 → 出荷」も計算できた。 結果から原因を計算
6 知的な振る舞い • 結果から原因を求める • 目的から手段を探す • 勝つためにはどのコマを動かすか
7 双方向に計算できるということ テーブル(関係)では AがわかればBがわかる BがわかればAがわかる 原因⇔結果 双方向に推論できる。 この双方向性がAIぽい。
8 まとめ:SQLのAIぽさ 双方向に計算できるというSQLの性質が 「考えているような」振る舞いを生む。