最新回答 / 慕妹0327896
http://tags.tech.sina.com.cn/%E5 ... 8%34%32%30%38%38%39http://tags.tech.sina.com.cn/%E5 ... 8%34%32%30%38%38%39http://tags.tech.sina.com.cn/%E5 ... 8%34%32%30%38%38%39http://tags.tech.sina.com.cn/%E5 ... 8%34%32%30%38%38%39http://tags.tech.sina.com.cn/%E...
2018-04-06
已采納回答 / 如果我是DJ我是DJ我是DJ我是DJ
外鍵不推薦使用 我們老師說(shuō)
評(píng)論區(qū)個(gè)個(gè)都是人才,說(shuō)話又好聽(tīng),超喜歡這里的~
2018-03-30
我算是看明白了,這hql語(yǔ)句就是sql的簡(jiǎn)化版,而且省了自己挨個(gè)去接收查詢結(jié)果值得步驟了,
2018-02-02
第二題
String hql = "select o.customer.name, o.tradedate, o.status, o.amount " +
"from t_order o " +
"where o.tradedate between '2015-05-01' and '2015-06-01' " +
"and o.status in ('已發(fā)貨', '已付款') and o.amount > 1000 " +
"order by o.status, o.tradedate desc, o.amount desc";
String hql = "select o.customer.name, o.tradedate, o.status, o.amount " +
"from t_order o " +
"where o.tradedate between '2015-05-01' and '2015-06-01' " +
"and o.status in ('已發(fā)貨', '已付款') and o.amount > 1000 " +
"order by o.status, o.tradedate desc, o.amount desc";
2018-01-31
打卡
第一題
String hql = "select c.name, c.price, c.category, c.seller.name " +
"from t_commodity c " +
"where c.category like '%書%' and c.price >= 10 " +
"order by c.seller.name, c.price desc, c.name";
第一題
String hql = "select c.name, c.price, c.category, c.seller.name " +
"from t_commodity c " +
"where c.category like '%書%' and c.price >= 10 " +
"order by c.seller.name, c.price desc, c.name";
2018-01-31