HASH JOIN use in DB2 Queries

A DB2 Hash Join is a type of join operation that uses a hash table to match rows from two or more tables. It is particularly beneficial when joining large tables or when the join condition involves non-indexed columns. The basic idea is to divide the rows of each table into small groups, called “buckets,”

HASH JOIN use in DB2 Queries Read More »

SQL wildcards use in Queries

SQL wildcards are used to substitute one or more characters in a string. We use SQL wildcards when we need to search for complex data. This complex data could compromise strings or numerical with special characteristics. Wildcards also come in handy when we want to speed up our querying process. The results are considerably fast

SQL wildcards use in Queries Read More »

HAVING Clause in DB2 SQL Queries

HAVING clause is used to apply a filter on the result of  GROUP BY based on the specified condition. The conditions are Boolean type i.e. use of logical operators(AND, OR). This clause was included in SQL as the WHERE keyword failed when we use it with aggregate expressions. It is a very generally used clause in SQL. Similar to WHERE

HAVING Clause in DB2 SQL Queries Read More »

DB2 Explain

Database Normalization with Examples

Database NORMALIZATION is used to reduce data redundancy and eliminate undesirable characteristics like Database Anomalies (Update anomaly, Insertion anomaly, Deletion anomaly). This also divides larger tables into smaller tables and links them using relationships and follows simple data structure design rules to make the data easy to understand, maintain and query. Rule of Clarity –

Database Normalization with Examples Read More »

Scroll to Top