$ grep -r "#sql" ./posts
Tag

#sql

// 4 matches

SQL Joins Diagram

For those who love SQL :-)Source: Data Visualisation

Find duplicate records in MySQL

So, the task is to get duplicate records from a MySQL database. The easy way: SELECT COUNT(*), column1, column2 FROM tablename GROUP BY column1, column2 HAVING COUNT(*)>1; More complex case: shows...

MySQL Frequently Used Commands

Selecting a database: mysql> USE database; Listing databases: mysql> SHOW DATABASES; Listing tables in a db: mysql> SHOW TABLES; Describing the format of a table: mysql> DESCRIBE table; Creating a...

IT-Digest AI Assistant