Skip to main content

Moon Cui

Blogs from this Author

Rules in JUnit

From version 4.7, JUnit introduced a new concept called Rules which really helpful. Rules allow very flexible addition or redefinition of the behavior of each test method in a test class.  Testers can reuse or extend one of the provided Rules below, or write their own. Here are some of the rules: TemporaryFolder Rule allows creation […]

Difference of sub-query in different databases

SQL development varies from case to case when it use different database such as Oracle, DB2 and MSSQL. Today we’d like to take “sub-query” as an example to explain the differences. For example, we want to calculate rate, Oracle support two ways: