摘要:
List the continents that have a total population of at least 100 million. 这题考察的是使用集聚函数生成表之后,如何过滤 一般我们生成一个查询结果集都会使用 where 表达式来过滤不想要的内容, 但是group by分组表达式 阅读全文
摘要:
http://dba.stackexchange.com/questions/4066/cant-retrieve-data-of-countries-and-regions 老外也有在论坛为这题发愁的,幸好下面有人解答,我找着思路把这题给抄了 题目问题是: Some countries have 阅读全文
摘要:
Find the continents where all countries have a population <= 25000000. Then find the names of the countries associated with these continents. Show nam 阅读全文
摘要:
Find the largest country (by area) in each continent, show the continent, thename and the area: 找到每个洲面积最大的国家: 其实这种>=ALL(子查询) 最不好理解,因为SQL不是一门过程化语言,所以用起 阅读全文
摘要:
只发后面提升题目的题解,前面的太简单,写下来也没有意义 12.查找尤金•奧尼爾EUGENE O'NEILL得獎的所有細節 Find all details of the prize won by EUGENE O'NEILL 题目推荐用两个‘符号来转义 个人还是推荐linux系统常用的转义符号\,这 阅读全文
摘要:
对于BigDecimal类在HashSet和TreeSet中 new BigDecimal("1.00") new BigDecimal("1.0") 在HashSet容器中这是两个实例,因为BigDecimal类的equals()方法来比较是不相等的, 但是在TreeSet容器中这是一个实例,因为 阅读全文