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
770
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
90
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
500
カイ二乗検定は何をやっているのか/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
スマートグラスで並列バイブコーディング
hyshu
0
280
関数型プログラミングのメリットって何だろう?
wanko_it
0
150
初めてのKubernetes 本番運用でハマった話
oku053
0
120
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.8k
AI駆動開発を妨げる技術的負債の解消アプローチ / ai-refactoring-approach
minodriven
17
8.7k
なぜ型を書くのか? TSKaigi2026で改めて考える #tskaigi_smarthr
kajitack
0
230
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
150
OSINT for SRE: 学術論文とポストモーテムから探る システム障害の共通パターン / SRE NEXT 2026
tomoyk
1
2.8k
AIを活用したE2Eテスト実装効率化のあゆみ / ebisu-mobile-14-kotetu
kotetuco
0
160
OS アップデート対応の取り組み方がもっと共有されてほしい
andpad
0
110
AIエージェントで 変わるAndroid開発環境
takahirom
2
460
音楽のための関数型プログラミング言語mimiumにおける多段階計算の活用
tomoyanonymous
1
290
Featured
See All Featured
Statistics for Hackers
jakevdp
799
230k
Typedesign – Prime Four
hannesfritz
42
3.1k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
220
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
280
Crafting Experiences
bethany
1
210
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.6k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.4k
Discover your Explorer Soul
emna__ayadi
2
1.2k
Test your architecture with Archunit
thirion
1
2.3k
The Pragmatic Product Professional
lauravandoore
37
7.4k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
590
Transcript
1 なぜSQLはAIぽく見えるのか 塩見登志和@コグラフ
2 配送計画をSQLで考える 倉庫から工場へ • 出荷の翌日に到着する • 倉庫が稼働している日に出荷 • 工場が稼働している日に到着
3 すべての可能性を列挙する CROSS JOIN すべての組み合わせ 倉庫×工場の関係をすべて作る 条件は「出荷日 < 到着日」
4 最適な出荷日を選ぶ 可能な出荷日の中で最大を選ぶ
5 面白いポイント:逆向きも解けている 「出荷 → 到着」を書いただけで 「到着 → 出荷」も計算できた。 結果から原因を計算
6 知的な振る舞い • 結果から原因を求める • 目的から手段を探す • 勝つためにはどのコマを動かすか
7 双方向に計算できるということ テーブル(関係)では AがわかればBがわかる BがわかればAがわかる 原因⇔結果 双方向に推論できる。 この双方向性がAIぽい。
8 まとめ:SQLのAIぽさ 双方向に計算できるというSQLの性質が 「考えているような」振る舞いを生む。