toc
Links
- Sites Page
- SQuirrel SQL – Universal SQL Client
- MySQL 101
- Order of clause execution / Why can't you use aliases in a GROUP BY clause
Bag
select sum(data_length+index_length) as total from information_schema.tables;
MySQL Docs
- Data Types
- INFORMATION_SCHEMA Tables
- Functions and Operators
- Function and Operator Reference
- Type Conversion in Expression Evaluation
- Operators
- Control Flow Functions
- String Functions
- Numeric Functions and Operators
- Date and Time Functions
- What Calendar Is Used By MySQL?
- Full-Text Search Functions
- Cast Functions and Operators
- Bit Functions
- Encryption and Compression Functions
- Information Functions
- Miscellaneous Functions
- Functions and Modifiers for Use with GROUP BY Clauses
- Precision Math
- SQL Statement Syntax
- Data Definition Statements
- ALTER DATABASE
- ALTER FUNCTION
- ALTER PROCEDURE
- ALTER TABLE
- ALTER VIEW
- CREATE DATABASE
- The CREATE FUNCTION Statement
- CREATE INDEX
- CREATE PROCEDURE and CREATE FUNCTION
- CREATE TABLE
- CREATE TRIGGER
- CREATE VIEW
- DROP DATABASE
- DROP FUNCTION
- DROP INDEX
- DROP PROCEDURE and DROP FUNCTION
- DROP TABLE
- DROP TRIGGER
- DROP VIEW
- RENAME TABLE
- TRUNCATE TABLE
- Data Manipulation Statements
- MySQL Transactional and Locking Statements
- Replication Statements
- SQL Syntax for Prepared Statements
- MySQL Compound-Statement Syntax
- Database Administration Statements
- MySQL Utility Statements
- Data Definition Statements
- Stored Programs and Views
- Optimization
- Index
Reference
- 3. Tutorial [+/-]
- 3.1. Connecting to and Disconnecting from the Server
- 3.2. Entering Queries
- 3.3. Creating and Using a Database [+/-]
- 3.4. Getting Information About Databases and Tables
- 3.5. Using mysql in Batch Mode
- 3.6. Examples of Common Queries [+/-]
- 3.6.1. The Maximum Value for a Column
- 3.6.2. The Row Holding the Maximum of a Certain Column
- 3.6.3. Maximum of Column per Group
- 3.6.4. The Rows Holding the Group-wise Maximum of a Certain Column
- 3.6.5. Using User-Defined Variables
- 3.6.6. Using Foreign Keys
- 3.6.7. Searching on Two Keys
- 3.6.8. Calculating Visits Per Day
- 3.6.9. Using
AUTO_INCREMENT
- 3.7. Using MySQL with Apache
- 4. MySQL Programs [+/-]
- 4.5. MySQL Client Programs [+/-]
- 4.5.1. mysql — The MySQL Command-Line Tool
- 4.5.2. mysqladmin — Client for Administering a MySQL Server
- 4.5.3. mysqlcheck — A Table Maintenance Program
- 4.5.4. mysqldump — A Database Backup Program
- 4.5.5. mysqlimport — A Data Import Program
- 4.5.6. mysqlshow — Display Database, Table, and Column Information
- 5. MySQL Server Administration [+/-]
- 5.1. The MySQL Server [+/-]
- 5.2. MySQL Server Logs [+/-]
- 5.3. General Security Issues [+/-]
- 5.4. The MySQL Access Privilege System [+/-]
- 5.5. MySQL User Account Management [+/-]
- 4.5. MySQL Client Programs [+/-]
- 7. Optimization [+/-]
- 7.1. Optimization Overview [+/-]
- 7.2. Obtaining Query Execution Plan Information [+/-]
- 7.3. Optimizing SQL Statements [+/-]
- 7.4. Controlling the Query Optimizer
- 7.5. Optimization and Indexes [+/-]
- 7.7. Locking Issues [+/-]
- 7.8. Optimizing Database Structure [+/-]
- 7.9. Optimizing the MySQL Server [+/-]
- 7.10. Examining Thread Information [+/-]
- 8. Language Structure [+/-]
- 9. Globalization [+/-]
- 9.1. Character Set Support [+/-]
- 9.1.1. Character Sets and Collations in General
- 9.1.2. Character Sets and Collations in MySQL
- 9.1.3. Specifying Character Sets and Collations
- 9.1.4. Connection Character Sets and Collations
- 9.1.5. Configuring the Character Set and Collation for Applications
- 9.1.6. Character Set for Error Messages
- 9.1.7. Collation Issues
- 9.1.8. String Repertoire
- 9.1.9. Operations Affected by Character Set Support
- 9.1.10. Unicode Support
- 9.1.11. UTF-8 for Metadata
- 9.1.12. Column Character Set Conversion
- 9.1.13. Character Sets and Collations That MySQL Supports
- 9.2. Setting the Error Message Language
- 9.3. Adding a Character Set [+/-]
- 9.4. Adding a Collation to a Character Set [+/-]
- 9.5. Character Set Configuration
- 9.6. MySQL Server Time Zone Support [+/-]
- 9.7. MySQL Server Locale Support
- 9.1. Character Set Support [+/-]
- 10. Data Types [+/-]
- 11. Functions and Operators [+/-]
- 11.1. Function and Operator Reference
- 11.2. Type Conversion in Expression Evaluation
- 11.3. Operators [+/-]
- 11.4. Control Flow Functions
- 11.5. String Functions [+/-]
- 11.6. Numeric Functions and Operators [+/-]
- 11.7. Date and Time Functions
- 11.8. What Calendar Is Used By MySQL?
- 11.9. Full-Text Search Functions [+/-]
- 11.10. Cast Functions and Operators
- 11.11. Bit Functions
- 11.12. Encryption and Compression Functions
- 11.13. Information Functions
- 11.14. Miscellaneous Functions
- 11.15. Functions and Modifiers for Use with
GROUP BY
Clauses [+/-] - 11.16. Spatial Extensions [+/-]
- 11.17. Precision Math [+/-]
- 12. SQL Statement Syntax [+/-]
- 12.1. Data Definition Statements [+/-]
- 12.1.1.
ALTER DATABASE
Syntax - 12.1.2.
ALTER FUNCTION
Syntax - 12.1.3.
ALTER PROCEDURE
Syntax - 12.1.4.
ALTER TABLE
Syntax - 12.1.5.
ALTER VIEW
Syntax - 12.1.6.
CREATE DATABASE
Syntax - 12.1.7. The
CREATE FUNCTION
Statement - 12.1.8.
CREATE INDEX
Syntax - 12.1.9.
CREATE PROCEDURE
andCREATE FUNCTION
Syntax - 12.1.10.
CREATE TABLE
Syntax - 12.1.11.
CREATE TRIGGER
Syntax - 12.1.12.
CREATE VIEW
Syntax - 12.1.13.
DROP DATABASE
Syntax - 12.1.14.
DROP FUNCTION
Syntax - 12.1.15.
DROP INDEX
Syntax - 12.1.16.
DROP PROCEDURE
andDROP FUNCTION
Syntax - 12.1.17.
DROP TABLE
Syntax - 12.1.18.
DROP TRIGGER
Syntax - 12.1.19.
DROP VIEW
Syntax - 12.1.20.
RENAME TABLE
Syntax - 12.1.21.
TRUNCATE TABLE
Syntax
- 12.1.1.
- 12.2. Data Manipulation Statements [+/-]
- 12.3. MySQL Transactional and Locking Statements [+/-]
- 12.3.1.
START TRANSACTION
,COMMIT
, andROLLBACK
Syntax - 12.3.2. Statements That Cannot Be Rolled Back
- 12.3.3. Statements That Cause an Implicit Commit
- 12.3.4.
SAVEPOINT
andROLLBACK TO SAVEPOINT
Syntax - 12.3.5.
LOCK TABLES
andUNLOCK TABLES
Syntax - 12.3.6.
SET TRANSACTION
Syntax - 12.3.7. XA Transactions
- 12.3.1.
- 12.4. Replication Statements [+/-]
- 12.5. SQL Syntax for Prepared Statements [+/-]
- 12.6. MySQL Compound-Statement Syntax [+/-]
- 12.7. Database Administration Statements [+/-]
- 12.8. MySQL Utility Statements [+/-]
- 12.1. Data Definition Statements [+/-]
- 17. Stored Programs and Views [+/-]
- 18.
INFORMATION_SCHEMA
Tables [+/-] - 20. Extending MySQL [+/-]
- FAQ
- B.1. MySQL 5.0 FAQ: General
- B.2. MySQL 5.0 FAQ: Storage Engines
- B.3. MySQL 5.0 FAQ: Server SQL Mode
- B.4. MySQL 5.0 FAQ: Stored Procedures and Functions
- B.5. MySQL 5.0 FAQ: Triggers
- B.6. MySQL 5.0 FAQ: Views
- B.7. MySQL 5.0 FAQ:
INFORMATION_SCHEMA
- B.9. MySQL 5.0 FAQ: Security
- B.12. MySQL 5.0 FAQ: Connectors & APIs
- B.13. MySQL 5.0 FAQ: Replication
- B.14. MySQL 5.0 FAQ: MySQL, DRBD, and Heartbeat [+/-]
- C. Errors, Error Codes, and Common Problems [+/-]
- C.5.8. Known Issues in MySQL
-
E. Restrictions and Limits [+/-]
- E.1. Restrictions on Stored Programs
- E.2. Restrictions on Server-Side Cursors
- E.3. Restrictions on Subqueries
- E.4. Restrictions on Views
- E.5. Restrictions on XA Transactions
- E.6. Restrictions on Character Sets
- E.7. Limits in MySQL [+/-]
- E.7.2. Limits on Number of Databases and Tables
- E.7.4. Table Column-Count and Row-Size Limits
- Standard Index
- C Function Index
- Command Index
- Function Index
INFORMATION_SCHEMA
Index- Transaction Isolation Level Index
JOIN
Types Index- Operator Index
- Option Index
- Privileges Index
- SQL Modes Index
- Status Variable Index
- Statement/Syntax Index
- System Variable Index