SQL Serverでインデックスを設定するSQL。
CREATE NONCLUSTERED INDEX IX_Employee_status_email
ON dbo.Employee (status, email)
インデックスする対象をwhereをつけることで絞ることができる。
CREATE NONCLUSTERED INDEX IX_Employee_status_email
ON dbo.Employee (status, email)
WHERE status = 'Active';