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クエリがあります。これら3つすべてを含むクエリを作成できますか?
select * from t_person where name=xyz order by type,category,order
これを試して:
(二重引用符) を使用して、予約済みのキーワードの順序""をエスケープします
""
select * from t_person where name='xyz' order by type,category,"order"
正しいクエリには二重引用符を使用します。