Essential SQL Operations and Table Relationships for Database Management
Core SQL Commands
Create database and tables:
CREATE DATABASE company_db DEFAULT CHARSET utf8 COLLATE utf8_general_ci;
CREATE TABLE department (
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(16) NOT NULL
) DEFAULT CHARSET=utf8;
CREATE TABLE employee (
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
full_name VARCHAR(16) NOT NUL ...
Posted on Sat, 07 Nov 2026 16:07:27 +0000 by zapa
Essential MySQL Database Management Techniques
Table Creation and Data Types
Table creation falls under DDL statements. Each database contains structural files for its tables:
SHOW TABLES;
Display table structure:
DESCRIBE table_name;
SHOW COLUMNS FROM table_name;
Field Types
Integer Types
TINYINT (1 byte)
SMALLINT (2 bytes)
MEDIUMINT (3 bytes)
INT (4 bytes)
BIGINT (8 bytes)
Decimal Typ ...
Posted on Wed, 10 Jun 2026 17:38:24 +0000 by ntbd
Fundamental SQL Operations: Schema Definition and Data Manipulation
SQL is a domain-specific language engineered for managing relational database management systems (RDBMS) and processing streaming data within relational stream architectures. Rooted in relational algebra and tuple calculus, it integrates data definition directives with operational manipulation commands. The syntax encompasses record insertion, ...
Posted on Fri, 08 May 2026 12:48:11 +0000 by coreyk67