- Timestamp:
- Jan 31, 2010, 1:50:45 AM (15 years ago)
- Location:
- trunk/sql/updates
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sql/updates/306.sql
r306 r307 1 UPDATE Team SET Leader=(SELECT Id FROM `user` WHERE user.Team=Team.Id LIMIT 1) WHERE Leader =0;1 UPDATE Team SET Leader=(SELECT Id FROM `user` WHERE user.Team=Team.Id LIMIT 1) WHERE Leader NOT IN (SELECT ID FROM user WHERE user.Team=Team.Id);
Note:
See TracChangeset
for help on using the changeset viewer.