Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これらの列を[単一のテーブルに]持っています:
partnumber bin description store manufacturer
各部品番号、ビン、説明列の行として店舗とメーカーを出力する必要があります。
おそらくピボットまたはグループ化を使用していますか?
あなたの質問は非常に曖昧で、テーブル構造の多くを示しておらず、使用しているRDBMSをリストしていません。
タグを編集して、使用しているデータベース サーバーである SQL を含めることを検討してください。
マット