先日初めてSQLクエリでIF関数を使ってみました。 今後も活用できる場面が多々ありそうな関数だったので、noteに残します。 やりたいこと ユーザのアクティブ状況を調べるため、ユーザごとの最終返信日時を取得したい。 ただし、返信には受諾(answered_at)と ...
operand is one of the following: constant is a number or a quoted character string (or other special notation) that indicates a fixed value. Constants are also called literals. Constants are described ...