<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fukusb</author_name>
  <author_url>https://blog.hatena.ne.jp/fukusb/</author_url>
  <blog_title>ふくちゃんのスキル道場</blog_title>
  <blog_url>https://www.fukusb.com/</blog_url>
  <categories>
  </categories>
  <description>アイキャッチ こんにちは！ふくちゃんです。 前回のDB学習に続き、今回はSQLの「応用編」に挑戦しました！RPGの戦闘ができるようになったら、次は装備を整えたくなりますよね。今回は「武器屋」の仕組みを作りながら、実務でも超重要な技術を学んでいきます。 QUEST: データベース学習ログ（応用編） 今回のテーマは「テーブル結合（JOIN）」と「トランザクション」です。 「お金を払ったのに武器がない！」という致命的なバグを防げる様に意識してみました。 応用編：武器屋実装プログラムを表示する import sqlite3 # 1. データベースの初期設定 def setup_shop_db(): c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.fukusb.com%2Fentry%2F2026%2F05%2F10%2F141710&quot; title=&quot;データベース学習ログ（応用編） - ふくちゃんのスキル道場&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/f/fukusb/20241110/20241110133635.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-05-10 14:17:10</published>
  <title>データベース学習ログ（応用編）</title>
  <type>rich</type>
  <url>https://www.fukusb.com/entry/2026/05/10/141710</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
