Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
文字列のセットがある場合、それらの文字列のどれがテーブルの 1 つの列にあるかを判断する SQL ステートメントはどれですか?
どの文字列が見つかったか、または何も見つからなかった場合に返すようにしたいと思いますNull。
Null
SELECT DISTINCT Column1 FROM Table1 WHERE Column1 IN ("String1","String2","String3")