我有一张桌子,它的简短表示是:
| Id | NormalizedEmail |
+-----------------------------+
| 9bn | 1@OHMY.NET |
+-----------------------------+
| 2cg | NO@OVERFLOW.COM |
如果我只知道电子邮件2cg
NO@OVERFLOW.COM
(Id)
答案 0 :(得分:0)
SELECT "Id" FROM your_table WHERE "NormalizedEmail" = 'NO@OVERFLOW.COM';
那里的Id报价很重要!