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 * FROM userdata where date_format(startdate,'%p') = 'AM'
如何将此查询更改为 HQL?对于数据范围,我只需要早上的数据。
date_format也应该在 hql 中工作。在 hql 中尝试相同的查询。
date_format