Tag

SQL

1 views collected around this technical thread.

IT Services Circle
IT Services Circle
Jun 12, 2025 · Databases

Is SQL Losing Its Edge? Exploring the Future of Structured Query Language

The article examines SQL's recent drop to 12th place in the TIOBE June 2025 ranking, recounts its historical highs and removal from the list, highlights its pervasive use in everyday systems, and discusses how the rise of AI and NoSQL databases may reshape its future role.

NoSQLSQLTIOBE
0 likes · 6 min read
Is SQL Losing Its Edge? Exploring the Future of Structured Query Language
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 12, 2025 · Databases

How to Find Cross‑College Teaching Anomalies with SQL – An Interview Challenge

An interview-style SQL challenge asks you to identify records where a professor teaches a course belonging to a different college than their own, providing table definitions, sample data, and the expected result, while inviting readers to devise the correct query.

Cross-CollegeDatabase DesignInterview
0 likes · 4 min read
How to Find Cross‑College Teaching Anomalies with SQL – An Interview Challenge
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 11, 2025 · Databases

Understanding MySQL Transaction Isolation Levels with Real‑World Examples

This article explains MySQL's four transaction isolation levels—READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, and SERIALIZABLE—through step‑by‑step examples, demonstrating their effects on dirty reads, non‑repeatable reads, phantom reads, and performance considerations, helping developers choose the appropriate level.

Database ConcurrencyInnoDBMySQL
0 likes · 10 min read
Understanding MySQL Transaction Isolation Levels with Real‑World Examples
Architect's Tech Stack
Architect's Tech Stack
Jun 6, 2025 · Databases

Master MySQL Full-Text Search: Inverted Indexes, Queries, and Best Practices

This article explains how MySQL's InnoDB engine implements full‑text search using inverted indexes, shows how to create and use full‑text indexes with various query modes, demonstrates Boolean operators and query expansion, and covers index removal techniques.

Full-Text SearchInverted IndexMySQL
0 likes · 12 min read
Master MySQL Full-Text Search: Inverted Indexes, Queries, and Best Practices
Java Tech Enthusiast
Java Tech Enthusiast
Jun 3, 2025 · Backend Development

Common MySQL Index Failure Scenarios and How to Diagnose Them

This article presents a series of MySQL interview questions and answers that illustrate typical situations where indexes become ineffective—such as leading wildcards in LIKE, NOT IN, NOT EXISTS, functions, inequality operators, OR conditions, mismatched ORDER BY, large result sets, and explains how to analyze execution plans and use FORCE INDEX to improve performance.

MySQLSQLdatabase
0 likes · 8 min read
Common MySQL Index Failure Scenarios and How to Diagnose Them
DataFunTalk
DataFunTalk
May 29, 2025 · Databases

Introducing DuckLake: An Integrated Data Lake and Catalog Format Powered by SQL

DuckDB's DuckLake is an open‑standard, SQL‑driven data lake and catalog format that simplifies lakehouse architecture by managing metadata in a database while storing data in scalable Parquet files, offering multi‑user collaboration, time‑travel queries, and MIT licensing.

Data LakeSQLdatabases
0 likes · 4 min read
Introducing DuckLake: An Integrated Data Lake and Catalog Format Powered by SQL
Practical DevOps Architecture
Practical DevOps Architecture
May 29, 2025 · Databases

Quick Solutions for MySQL Table Locks

This guide outlines a step‑by‑step method to diagnose and release MySQL table locks by checking open tables, inspecting running processes, querying InnoDB transaction and lock tables, and generating KILL statements to terminate blocking sessions.

Database AdministrationMySQLSQL
0 likes · 3 min read
Quick Solutions for MySQL Table Locks
Architect's Guide
Architect's Guide
May 29, 2025 · Databases

Understanding Database Indexes: How Indexes Accelerate Queries

This article explains the evolution of data storage, the fundamentals of computer storage devices, and how database indexes—especially clustered and non‑clustered indexes—leverage binary search to dramatically speed up query performance while outlining their drawbacks and common SQL optimization techniques.

SQLdatabaseindex
0 likes · 13 min read
Understanding Database Indexes: How Indexes Accelerate Queries
Java Captain
Java Captain
May 25, 2025 · Databases

Database Transactions: ACID Properties, Isolation Levels, and Usage in MySQL

This article provides a comprehensive overview of database transactions, explaining ACID properties, transaction states, explicit and implicit transaction control, isolation levels, and how to configure and use them in MySQL with practical SQL examples and code snippets.

ACIDIsolation LevelMySQL
0 likes · 22 min read
Database Transactions: ACID Properties, Isolation Levels, and Usage in MySQL
Architect
Architect
May 17, 2025 · Databases

Storing 2 Billion Phone Numbers: Why VARCHAR(20) Is Preferable to INT/BIGINT

The article explains why using a VARCHAR(20) column to store billions of phone numbers is safer and more flexible than INT or BIGINT, covering range limits, data integrity, query convenience, interview expectations, and common pitfalls such as insufficient field length, charset issues, missing indexes, and lack of encryption.

BIGINTData IntegrityDatabase Design
0 likes · 10 min read
Storing 2 Billion Phone Numbers: Why VARCHAR(20) Is Preferable to INT/BIGINT
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
May 14, 2025 · Artificial Intelligence

How AI Powers an Intelligent SQL Assistant for Query Optimization

This article details the design and implementation of an AI‑driven Intelligent SQL Assistant that automates query parsing, index recommendation, execution‑plan visualization, and supports SQL generation, diagnosis, and explanation across multiple dialects, while outlining its layered architecture, core modules, code examples, and future enhancements.

AIDiagnosticsSQL
0 likes · 14 min read
How AI Powers an Intelligent SQL Assistant for Query Optimization
Code Ape Tech Column
Code Ape Tech Column
May 13, 2025 · Backend Development

Elegant Multi‑Tenant Data Isolation with MyBatis‑Plus in SaaS Applications

This article explains the concept of SaaS multi‑tenant architecture, compares three data‑isolation designs, and demonstrates how to implement elegant tenant‑level data isolation in Java using MyBatis‑Plus’s tenant plugin, complete with configuration, handler code, SQL examples, and troubleshooting tips.

Data IsolationJavaMyBatis-Plus
0 likes · 15 min read
Elegant Multi‑Tenant Data Isolation with MyBatis‑Plus in SaaS Applications
php中文网 Courses
php中文网 Courses
May 13, 2025 · Backend Development

Implementing Logistics Tracking and Delivery Management in PHP for E‑commerce

This tutorial explains how to build logistics tracking and delivery management features for an e‑commerce platform using PHP, covering database table creation, inserting, updating, and querying of tracking and delivery records with complete code examples.

Delivery ManagementLogisticsPHP
0 likes · 6 min read
Implementing Logistics Tracking and Delivery Management in PHP for E‑commerce
Architecture Digest
Architecture Digest
May 11, 2025 · Backend Development

Integrating Dataway with Spring Boot for Zero‑Code API Configuration

This tutorial walks through adding Dataway to a Spring Boot project, covering Maven dependencies, configuration properties, required database tables, data‑source setup, Hasor module integration, enabling Hasor, launching the application, and creating and testing APIs using both SQL and DataQL without writing any service code.

API ConfigurationDataQLDataway
0 likes · 14 min read
Integrating Dataway with Spring Boot for Zero‑Code API Configuration
Java Tech Enthusiast
Java Tech Enthusiast
May 10, 2025 · Databases

Efficient Strategies for Deleting Massive Data from Large Database Tables

The article outlines why deleting tens of millions of rows in one statement harms performance and reliability, then presents safe, efficient tactics—such as indexed batch deletes, partition drops, creating a new table, or using TRUNCATE—plus pre‑deletion planning, post‑delete validation, monitoring, and space reclamation.

SQLbackupbulk delete
0 likes · 11 min read
Efficient Strategies for Deleting Massive Data from Large Database Tables
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 10, 2025 · Databases

10 Powerful SQL Optimization Techniques to Boost Query Performance

This article presents ten practical SQL optimization techniques—including replacing DISTINCT with GROUP BY, using UNION ALL instead of OR, avoiding functions on indexed columns, leveraging EXISTS over IN, creating covering indexes, partitioning large tables, and more—each illustrated with before-and-after code examples to dramatically improve query speed and reduce server load.

MySQLQuery TuningSQL
0 likes · 10 min read
10 Powerful SQL Optimization Techniques to Boost Query Performance
Selected Java Interview Questions
Selected Java Interview Questions
May 9, 2025 · Databases

Comparing IDEA and Navicat for Executing Large SQL Files: Performance Test and Analysis

The author compares IntelliJ IDEA's built‑in database tool with Navicat for running massive SQL dump files, showing that IDEA consistently achieves higher execution speed, lower CPU usage, and no freezes even on multi‑gigabyte scripts, contrary to common expectations.

IDEALarge FilesNavicat
0 likes · 5 min read
Comparing IDEA and Navicat for Executing Large SQL Files: Performance Test and Analysis
Java Captain
Java Captain
May 8, 2025 · Backend Development

Guide to Using easy-data-scope for Dynamic SQL Data Permissions in Spring Boot

This tutorial explains how to set up and use the easy-data-scope library in a Spring Boot project to implement dynamic SQL data‑permission rules with MyBatis, covering database preparation, Maven dependencies, core annotations, configuration files, and example queries for various permission scenarios.

Data PermissionJavaMyBatis
0 likes · 10 min read
Guide to Using easy-data-scope for Dynamic SQL Data Permissions in Spring Boot
php中文网 Courses
php中文网 Courses
May 8, 2025 · Backend Development

Using mysqli_fetch_assoc to Retrieve Query Results in PHP

This tutorial demonstrates how to connect to a MySQL database in PHP using mysqli_connect, execute queries with mysqli_query, and retrieve each row as an associative array using mysqli_fetch_assoc, providing complete code examples and a full script for efficient backend data handling.

MySQLPHPSQL
0 likes · 4 min read
Using mysqli_fetch_assoc to Retrieve Query Results in PHP