1 / 9

データベース: Access による実習 第 4 章: クエリの基礎

データベース: Access による実習 第 4 章: クエリの基礎. 内容 クエリの作成 レコードの抽出と抽出条件の指定 クエリでの計算 グループ化しての集計. リレーションシップ Section28. 各表の主キーと外部キーは ?. 文字列は「 ” 」で囲む. 数字は「 # 」で囲む. 抽出条件の入力 Section 34. 抽出条件の指定 Section34. 選択クエリからのレコードの抽出 Section 34. 条件 「見積内容」が「パソコン一式」のレコード 「顧客 ID 」が「 ITKR 」のレコード

race
Download Presentation

データベース: Access による実習 第 4 章: クエリの基礎

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. データベース:Accessによる実習第4章:クエリの基礎データベース:Accessによる実習第4章:クエリの基礎 内容 クエリの作成 レコードの抽出と抽出条件の指定 クエリでの計算 グループ化しての集計

  2. リレーションシップSection28 • 各表の主キーと外部キーは?

  3. 文字列は「”」で囲む 数字は「#」で囲む 抽出条件の入力Section 34

  4. 抽出条件の指定Section34

  5. 選択クエリからのレコードの抽出Section 34 • 条件 • 「見積内容」が「パソコン一式」のレコード • 「顧客ID」が「ITKR」のレコード • 「顧客ID 」が「FUCH」のレコード • レコード抽出 • 条件1 • 条件1 AND 条件2 • 条件1 OR 条件2

  6. 選択クエリからのレコードの抽出結果Section 34

  7. 記述例 比較演算子を使った抽出条件の指定Section 34

  8. クエリで計算Section 36 • 定価=数量*販売単価 • 見積金額=定価*(1-割引)

  9. グループ化して集計Section 37 • 見積IDごとにグループ化した見積金額の集計結果

More Related