Category: MariaDB

데이터베이스 데이터를 한 저장 장치에서 다른 저장 장치로 이동하는 3D 일러스트

MariaDB Data Directory Migration: Checks Before and After the Move

Use this MariaDB migration checklist to verify the target volume, confirm existing data after restarting, and decide when it is safe to reopen writes or roll back.

일치하는 행과 일치하지 않는 행을 표시한 두 테이블

MariaDB LEFT JOIN, RIGHT JOIN, and INNER JOIN Compared

Compare which rows each MariaDB join keeps. Run the examples to see how NULL, ON, and WHERE affect the results and how to join a third table.

featured image mariadb

MariaDB CEILING: Round numbers up to an integer

See how MariaDB CEILING rounds positive and negative numbers, how it compares with CEIL, FLOOR and ROUND, and how to calculate a page count.

여러 데이터베이스 중 작업 대상을 선택하는 개념 그림

How to List, Create, Drop, and Rename Databases in MariaDB

Use SHOW DATABASES and CREATE DATABASE in MariaDB, then move data to a new database name with a dump and restore. Verify the copy before dropping anything.

원본 테이블의 일부 열을 투명한 조회 창으로 보여 주는 그림

How to Create, Replace, Alter, and Drop a View in MariaDB

Work through a MariaDB view example to compare CREATE VIEW, IF NOT EXISTS, and OR REPLACE, then alter the definition and confirm that dropping the view preserves the source rows.

행을 분류별 트레이로 묶은 뒤 조건에 맞는 그룹을 고르는 그림

How to Build a Pivot Table in MariaDB

Use GROUP BY with SUM(IF()) or SUM(CASE) to turn products into columns. Check how zero, missing rows, and new products affect a MariaDB pivot.

문자열 조각을 연결하고 나누어 길이를 살피는 데이터베이스 그림

How to Pick a String by Position with MariaDB ELT()

Use MariaDB ELT() to return a string by its one-based position. Check NULL and decimal inputs, and compare status labels with FIELD() and CASE.

문자열 조각을 연결하고 나누어 길이를 살피는 데이터베이스 그림

How to Repeat a String with MariaDB REPEAT()

Repeat strings with MariaDB REPEAT(), distinguish empty strings from NULL, and compare repetition with LPAD() and character or byte counts.

조건 필터를 통과한 데이터 행만 결과 트레이에 모이는 그림

How to Match String Patterns with LIKE in MariaDB

Use MariaDB LIKE with %, _, and ESCAPE. Try prefix, suffix, and substring searches, then check case sensitivity, NULL handling, and index access.

정확한 소수 블록과 반올림·타입 변환을 표현한 그림

How to Round Numbers with MariaDB ROUND()

Use MariaDB ROUND() for decimal places or powers of ten. Compare exact and floating-point ties, truncation and formatting, and rounding before or after a sum.