[MS-SQL] 필수 쿼리
테이블 생성 (PK와 같이) CREATE TABLE Person ( Id INT NOT NULL, LastName VARCHAR(255) NOT NULL, FirstName VARCHAR(255), Age INT CONSTRAINT DF_Person_Age DEFAULT 0, CONSTRAINT PK_Persons PRIMARY KEY (Id, LastName) ); 테이블 생성 (PK 없이) CREATE TABLE Person ( Id INT NOT NULL, LastName VARCHAR(255) NOT NULL, FirstName VARCHAR(255), Age INT ); PK 추가 ALTER TABLE Person ADD CONSTRAINT PK_Person PRIMARY KEY (Id); PK..