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.
次のようなSQLステートメントがあります。
SELECT ReturnDate FROM <joins> WHERE <conditions>
ReturnDateがnullでないかどうかを確認する方法は?
null のレコードを選択したくない場合は、次のようなものを使用します。
SELECT ReturnDate FROM <joins> WHERE ReturnDate IS NOT NULL AND <conditions>
このクエリを試してください
SELECT ReturnDate FROM joins WHERE conditions AND ReturnDate IS NOT NULL;