3 lines
188 B
SQL
3 lines
188 B
SQL
insert into GroupDb(GroupId, GroupName, AssignedUserCount)
|
|
select (select max(GroupId) from GroupDb)+1, 'Archived', 0
|
|
WHERE NOT EXISTS(select * from GroupDb where GroupName='Archived'); |