From e7b3d5238236c7cf88820016563cd97440092f15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Tue, 9 Sep 2014 00:13:17 +0200 Subject: [PATCH] fix typo. --- bd/bd05.xhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bd/bd05.xhtml b/bd/bd05.xhtml index 9d7e4bf..7b0692e 100644 --- a/bd/bd05.xhtml +++ b/bd/bd05.xhtml @@ -81,7 +81,7 @@

Exemple pour la suite du cours

- Sailors(mid: integer, sname: string, rating: integer, age: real); + Sailors(sid: integer, sname: string, rating: integer, age: real); Reserves(sid: integer, bid: integer, day: date, rname: string); Boats(bid: integer, bname: string, capacity: integer); @@ -321,7 +321,7 @@ Une projection commute avec une selection qui utilise uniquement

Exemple de calcul de coût

SELECT S.sid FROM Sailors S WHERE S.rating = 8; - πsidrating = 8(R)) + πsidrating = 8(S))
  • Avec un index sur rating:
      -- 2.17.1