Book description
The MySQL Phrasebook is a pocket guide that is jam-packed with useful and essential code "phrases" for the MySQL developer's everyday use. Packed with practical solutions for tasks that the MySQL developer must accomplish every day, it fills the need for a short, functional, to-the-point reference for MySQL. This is the guide to consult when you need an immediate, applicable solution to frequent tasks and code that is flexible and adaptable to your needs. Your time won't be wasted on more tutorials — it simply puts essential "phrases" at your fingertips that you can take with you everywhere.
Table of contents
-
MySQL® Phrasebook
- About the Authors
- Acknowledgments
- We Want to Hear from You!
- Introduction
- 1. Maps of MySQL
- 2. Creating and Managing Databases, Tables, and Indexes
-
3. Storing Data
-
- Adding Data to a Table
- Adding Many Rows in One Query Using INSERT
- Assigning Unique Row Numbers with auto_increment
- Inserting the Current Date and Time (Using a MySQL Function)
- Loading SQL Commands from a File
- Inserting Data from Another Table
- Importing Data from Text Files
- Inserting Data Rapidly
- See Also
-
4. Retrieving Data: Simple Queries
-
- Limiting the Number of Rows Returned
- Sorting Result Sets
- Ignoring Duplicate Rows
- Finding Text That Matches a Pattern
- Finding the Smallest, Largest, or Average Value in a Column
- Date and Time Manipulation
- Storing Exact Floating Point Numbers
- Dealing with NULL
- Sending Query Results to a File
- Writing a BLOB to a File
- 5. Manipulating Data
-
6. User Management and Security
-
- Creating Users
- Deleting Users
- Renaming a User
- Using Wildcards
- Finding Users of a Given Database or Table
- Setting Passwords
- Tailoring User Permissions
- Allowing Other Users to Grant Privileges
- Viewing a User’s Privileges
- Removing User Access
- Disabling Network Access
- Disabling User Authentication
- Using SSL-Secured Connection
- See Also
-
7. The mysql Command-line Client
-
- Connecting to a MySQL Server
- Using the Client in Batch Mode
- Basic mysql Command-line Client Navigation
- Erasing the Current Line or Query
- Setting Connection Defaults with an Option File
- Getting Help Within mysql
- Editing Complex Commands with a Text Editor
- Database, Table, and Column Name Completion
- Using the Command-line History
- Other Useful Tools
- 8. MySQL APIs
- 9. Advanced Queries
- 10. Troubleshooting and Emergencies
- A. A Brief MySQL Tutorial
Product information
- Title: MySQL
- Author(s):
- Release date: March 2006
- Publisher(s): Sams
- ISBN: None
You might also like
book
Sams Teach Yourself Hadoop in 24 Hours
Apache Hadoop is the technology at the heart of the Big Data revolution, and Hadoop skills …
book
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 2nd Edition
Through a series of recent breakthroughs, deep learning has boosted the entire field of machine learning. …
book
MySQL Tutorial
A concise introduction to the fundamentals of working with MySQL. MySQL is an open-source relational database …
book
Learning Python Networking - Second Edition
Achieve improved network programmability and automation by leveraging powerful network programming concepts, algorithms, and tools Key …