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 columnName FROM tableName WHERE 2013-05-03 22:47:02 から 2013-11-19 22:47:02 までの時間
列「時間」のタイプが TIMESTAMP の場合、エントリの例は次のとおりです。
2013-09-07 15:00:00
構文に問題があるという応答が返ってきました。どこが間違っているのか誰か教えてもらえますか?
日時値を一重引用符で囲む必要があります。