前回に紹介したテーブル作成のSQLであるCREATE TABLEコマンドには「制約」オプションがある。テーブル内に書き込むデータを制限できるので,誤入力防止に役立つ。 前回,テーブルを作成するCREATE TABLEコマンドの基本構文を,次のように紹介した。 CREATE TABLE ...
Before we write any SQL we're going to need a database. For this challenge, we'll be using mySQL. At this point, we just want the data on our SQL Server, and we'll improve it later. Using details of ...