私のsqlデータベースの操作例
422 ワード
SpringWaterのデータベースを作成する
パターンを作成
このモードでテーブルを作成
sql server: create database SpringWater
mysql: create schema
パターンを作成
create schema authorization
このモードでテーブルを作成
create table [ .S](
S# char(20) not null primary key,
Sname char(20) not null,
Age int,
Sex char(5),
check (Age between 0 and 120)
)