WORKTOOLS 3.0

SQL Practical Guides

Use focused guides when you know the job you need to do and want a verified pattern, a realistic example and the next tool or practice step.

SQL

SQL LIKE Multiple Values

Match several text patterns without losing readability.

Open →
SQL

SQL LIKE Starts With

Filter codes by a known prefix.

Open →
SQL

SQL LIKE Contains Text

Find rows where a code or description contains a fragment.

Open →
SQL

SQL NOT LIKE

Exclude rows that match a text pattern.

Open →
SQL

SQL LEFT JOIN to Find Missing Rows

Keep every source row and expose records with no match.

Open →
SQL

SQL JOIN Creates Duplicate Rows

Understand why a JOIN returns more rows than expected.

Open →
SQL

SQL GROUP BY Multiple Columns

Summarize data at the exact business grain you need.

Open →
SQL

SQL WHERE vs HAVING

Choose the correct filter stage before or after aggregation.

Open →
SQL

SQL CASE with Multiple Conditions

Turn business rules into readable status labels.

Open →
SQL

CTE vs Subquery

Choose between a named intermediate result and an inline nested query.

Open →
SQL

Remove SQL Duplicates with ROW_NUMBER

Keep one row from each duplicate group using an explicit rule.

Open →
SQL

SQL Top N Per Group

Return the highest or latest rows inside each business group.

Open →
SQL

SQL Running Total

Calculate cumulative values in a defined order.

Open →
SQL

SQL LAG and LEAD

Compare a row with the previous or next event.

Open →
SQL

SQL NULL Handling

Work safely with missing or unknown values.

Open →
SQL

SQL EXISTS vs IN

Choose a clear membership test for related data.

Open →
SQL

SQL UNION vs UNION ALL

Append result sets with or without duplicate removal.

Open →
SQL

SQL Last 30 Days Filter

Build rolling date filters that update automatically.

Open →
SQL

SQL Find Duplicate Values

Identify keys that occur more often than expected.

Open →
SQL

SQL Query Performance Basics

Make operational queries easier for the optimizer without premature tuning.

Open →
SQL

SQL Conditional Aggregation

Build several KPI counts in one grouped query.

Open →
SQL

SQL Pivot with CASE

Turn categories into summary columns without vendor-specific PIVOT syntax.

Open →
SQL

SQL Anti Join Patterns

Find records that exist in one set but not another.

Open →
SQL

SQL Latest Row Per Key

Return the newest status or event for each item.

Open →
SQL

Safe SQL UPDATE Workflow

Preview exactly what an UPDATE will touch before changing data.

Open →