Useful Links
Computer Science
Databases
SQL Database Language
1. Introduction to Databases and SQL
2. SQL Fundamentals and Syntax
3. Basic Data Retrieval with SELECT
4. Data Manipulation Operations
5. Database Structure Management
6. Multi-Table Operations and Joins
7. Aggregate Functions and Data Summarization
8. Subqueries and Nested Queries
9. Advanced SQL Features
10. Transaction Management and Concurrency
11. Database Security and Access Control
12. Stored Procedures and Programmability
SQL Fundamentals and Syntax
SQL Statement Structure
Basic Statement Anatomy
Keywords and Identifiers
Statement Termination
Semicolon Usage
Statement Separators
Statement Formatting
Line Breaks and Spacing
Indentation Practices
Readability Guidelines
SQL Naming Conventions
Identifier Rules
Reserved Words
Quoted Identifiers
Case Sensitivity Rules
Identifier Case Handling
Data Value Case Sensitivity
Dialect Differences
Comments in SQL
Single-Line Comments
Double Dash Syntax
Usage Guidelines
Multi-Line Comments
Block Comment Syntax
Nested Comments
Documentation Best Practices
When to Comment
Comment Clarity
Maintenance Considerations
SQL Expressions and Operators
Expression Types
Column References
Literal Values
Calculated Expressions
Arithmetic Operators
Addition
Subtraction
Multiplication
Division
Modulo
Comparison Operators
Equality Testing
Inequality Testing
Range Comparisons
Logical Operators
Boolean Logic
Operator Precedence
Truth Tables
SQL Data Types
Character Data Types
CHAR Fixed-Length
Storage Characteristics
Padding Behavior
Use Cases
VARCHAR Variable-Length
Length Specifications
Storage Efficiency
Performance Considerations
TEXT Large Text
Storage Limits
Performance Impact
Use Cases
Character Set Considerations
Collation Rules
Numeric Data Types
Integer Types
TINYINT
SMALLINT
INT
BIGINT
Storage Requirements
Exact Numeric Types
DECIMAL
NUMERIC
Precision and Scale
Approximate Numeric Types
FLOAT
REAL
DOUBLE PRECISION
Precision Considerations
Numeric Type Selection
Date and Time Types
DATE Type
Format Standards
Range Limitations
TIME Type
Precision Options
Time Zone Considerations
DATETIME Type
Combined Date and Time
Storage Requirements
TIMESTAMP Type
Automatic Updates
Time Zone Handling
INTERVAL Type
Date Arithmetic
Boolean Data Types
TRUE and FALSE Values
NULL Handling
Dialect Variations
Binary Data Types
BINARY Fixed-Length
VARBINARY Variable-Length
BLOB Large Objects
Use Cases and Limitations
Other Specialized Types
UUID Types
JSON Types
XML Types
Array Types
Data Type Conversion
Implicit Conversion
Explicit Casting
CAST Function
CONVERT Function
Type Compatibility
Previous
1. Introduction to Databases and SQL
Go to top
Next
3. Basic Data Retrieval with SELECT