You need to create two snippets with different names and different trigger keys but the same expansion.
So name the first one (for example) 'sel':
# -*- mode: snippet -*-
# name: sel
# key: sel
# --
SELECT ${1:*} FROM $2;
and the second one 'ыуд':
# -*- mode: snippet -*-
# name: ыуд
# key: ыуд
# --
SELECT ${1:*} FROM $2;