SupportWriter space ↗
REFERENCE LIBRARY

References from other publishers

Republished articles with source attribution. This collection is separate from Diary Coding’s original guides and does not display ads.

Read original guides → · Editorial policy

FOR YOUR CURIOSITY

Latest notes.

LEARNING SQL / NOTES</>↗
Learning SQL03 Aug 2026

How do I work with NULL values in SQL?

Real data is rarely complete. A customer may not have provided a phone number, an order may not yet have a shipping date, and a book may not yet have been assigned a category. SQL uses a special marker, NULL, to represent this missing or unknown information. Working with NULL correctly is one of the […]

Wayan · 12 min read
LEARNING SQL / NOTES</>↗
Learning SQL01 Aug 2026

How do I delete data safely from a SQL table?

Removing data from a database sounds simple, but a single missing clause can wipe out an entire table. In this tutorial, you will learn how to use the SQL DELETE statement safely: how to target the exact rows you want to remove, how to verify your target before deleting, and how to use transactions to […]

Wayan · 7 min read
LEARNING SQL / NOTES</>↗
Learning SQL31 Jul 2026

How do I update existing data in a SQL table?

Data stored in a database rarely stays the same forever. Prices change, customers move, orders are shipped, and inventory goes up and down. When you need to modify rows that already exist in a table, SQL provides the UPDATE statement. In this tutorial you will learn how to change the value of one or more […]

Wayan · 11 min read
LEARNING SQL / NOTES</>↗
Learning SQL31 Jul 2026

How do I find unique values using DISTINCT?

When you query a table, the result set often contains repeated values. For example, if you list the countries of every customer, the same country name appears many times. The DISTINCT keyword tells the database to return only unique values, removing duplicates from the result. In this tutorial you will learn what DISTINCT does, how […]

Wayan · 6 min read
LEARNING SQL / NOTES</>↗
Learning SQL30 Jul 2026

How do I limit the number of rows returned by a query?

A SELECT statement can easily return thousands or millions of rows, but in most real applications you only need a handful of them at a time — the ten cheapest books, the top five customers, the most recent orders, or a single page of search results. Downloading everything and discarding the rest wastes memory, network […]

Wayan · 10 min read
LEARNING SQL / NOTES</>↗
Learning SQL27 Jul 2026

How do I sort query results using ORDER BY?

When you run a SELECT statement, the database does not promise to return rows in any particular order. If you want a predictable sequence — the cheapest books first, the newest orders on top, or authors listed alphabetically — you have to ask for it explicitly. The tool SQL gives you for that is the […]

Wayan · 11 min read
✳

Knowledge grows when shared.

Stay curious. There is always something new to learn.

Explore notes ↗
Putu Adi Guna Permana
ABOUT THE AUTHOR

Dr (C). Ir. Putu Adi Guna Permana, S.Kom., M.Kom., IPM., ASEAN Eng.

Writer and founder of Diary Coding — sharing notes, tutorials, and experiences about programming for anyone who wants to keep learning.