1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

データベーススペシャリスト試験で絶対に正解してはいけない問題

1
Last updated at Posted at 2020-03-04

データベーススペシャリスト試験でIPAの正解を正解だと覚えると実務で問題を起こす事例がある。
H28の午後1 問1 1

image.png
なので、緯度経度だけで施設が特定できると考えているのだろうが、施設は高度も関係してくるので、これは間違い。
施設名も重複の可能性があるので、「緯度経度、施設名、所要時間」でも候補キーとしてはいけない。

なお、施設IDと駐車場IDで候補キーとなる設計も一般的にはありえない。
施設名はかなりしょっちゅう変わる要素であるから、それが重複して存在する設計にするのは、かなりの初心者でもやらないだろう。

1
1
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?