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
600
0
Share
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
January 13, 2026
More Decks by florets1
See All by florets1
Tableauとggplot2の背景/Background_of_Tableau_and_ggplot2
florets1
0
71
Rで学ぶデータハンドリング入門/Introduction_to_Data_Handling_with_R
florets1
0
140
人工知能はクロスジョインでできている/AI_Is_Built_on_Cross_Joins
florets1
0
100
仮説の取扱説明書/User_Guide_to_a_Hypothesis
florets1
4
460
複式簿記から純資産を排除する/eliminate_net_assets_from_double-entry_bookkeeping
florets1
1
470
カイ二乗検定は何をやっているのか/What_Does_the_Chi-Square_Test_Do
florets1
7
2.5k
直積は便利/direct_product_is_useful
florets1
3
470
butterfly_effect/butterfly_effect_in-house
florets1
1
290
データハンドリング/data_handling
florets1
2
280
Other Decks in Programming
See All in Programming
アーキテクチャモダナイゼーションとは何か
nwiizo
17
4.5k
Don't Prompt Harder, Structure Better
kitasuke
0
440
Swift Concurrency Type System
inamiy
0
340
へんな働き方
yusukebe
6
2.9k
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
160
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
6k
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.1k
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
1.8k
AIエージェントで業務改善してみた
taku271
0
490
Kubernetes上でAgentを動かすための最新動向と押さえるべき概念まとめ
sotamaki0421
3
440
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
130
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
530
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
510
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
KATA
mclloyd
PRO
35
15k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Context Engineering - Making Every Token Count
addyosmani
9
800
The Limits of Empathy - UXLibs8
cassininazir
1
290
YesSQL, Process and Tooling at Scale
rocio
174
15k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
93
The agentic SEO stack - context over prompts
schlessera
0
740
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Transcript
1 なぜSQLはAIぽく見えるのか 塩見登志和@コグラフ
2 配送計画をSQLで考える 倉庫から工場へ • 出荷の翌日に到着する • 倉庫が稼働している日に出荷 • 工場が稼働している日に到着
3 すべての可能性を列挙する CROSS JOIN すべての組み合わせ 倉庫×工場の関係をすべて作る 条件は「出荷日 < 到着日」
4 最適な出荷日を選ぶ 可能な出荷日の中で最大を選ぶ
5 面白いポイント:逆向きも解けている 「出荷 → 到着」を書いただけで 「到着 → 出荷」も計算できた。 結果から原因を計算
6 知的な振る舞い • 結果から原因を求める • 目的から手段を探す • 勝つためにはどのコマを動かすか
7 双方向に計算できるということ テーブル(関係)では AがわかればBがわかる BがわかればAがわかる 原因⇔結果 双方向に推論できる。 この双方向性がAIぽい。
8 まとめ:SQLのAIぽさ 双方向に計算できるというSQLの性質が 「考えているような」振る舞いを生む。