SQL for MySQL Developers

A Comprehensive Tutorial and Reference

  • Nombre de pages : 1032 pages   drapeau anglais
  • Date de parution : 31/05/2007

Résumé

MySQL 5.x offers a SQL dialect with immense power. In SQL for MySQL Developers, Rick F. van der Lans helps you master this version of SQL, and leverage its full potential. Using case study examples and hands-on exercises, van der Lans illuminates every key concept, technique, and statement-including advanced features that make it easier to create even the most complex statements and programs.

Drawing on decades of experience as a SQL standards team member and enterprise consultant, he reveals exactly why MySQL's dialect works as it does-and how to get the most out of it. You'll gain powerful insight into everything from basic queries to stored procedures, transactions to data security.

Whether you're a programmer, Web developer, analyst, DBA, or database user, this book can take you from "apprentice" to true SQL expert. If you've used SQL in older versions of MySQL, you'll become dramatically more effective-and if you're migrating from other database platforms, you'll gain practical mastery fast.

  • Writing queries, including joins, functions, and subqueries
  • Updating data
  • Creating tables, views, and other database objects
  • Specifying keys and other integrity constraints
  • Improving efficiency with indexes
  • Enforcing security via passwords and privileges
  • Building stored procedures and triggers
  • Embedding SQL statements within PHP programs
  • Using transactions, savepoint, rollback, isolation level, and repeatable read
  • Optimizing performance by reformulating SQL statements
  • Utilizing MySQL's catalog
  • Reference section: SQL statement definitions and SQL function lists

Sommaire

  • Introduction
    • Introduction to MySQL
    • The tennis club sample database
    • Installing the software
    • SQL in a nutshell
  • Querying and updating data
    • SELECT statement: common elements
    • SELECT statements, table expressions, and subqueries
    • SELECT statement: the FROM clause
    • SELECT statement: the WHERE clause
    • SELECT statement: SELECT clause and aggregation functions
    • SELECT statement: the GROUP BY clause
    • SELECT statement: the HAVING clause
    • SELECT statement: the ORDER BY clause
    • SELECT statement: the LIMIT clause
    • Combining table expressions
    • The user variable and the SET statement
    • The HANDLER statement
    • Updating tables
    • Loading and unloading data
    • Working with XML documents
  • Creating database objects
    • Creating tables
    • Specifying integrity constraints
    • Character sets and collations
    • The ENUM and SET types
    • Changing and dropping tables
    • Using indexes
    • Views
    • Creating databases
    • Users and data security
    • Statements for table maintenance
    • The SHOW, DESCRIBE, and HELP statements
  • Procedural database objects
    • Stored procedures
    • Stored functions
    • Triggers
    • Events
  • Programming with SQL
    • MySQL and PHP
    • Dynamic SQL with prepared statement
    • Transactions and multi-user usage
  • Appendix A Syntax of SQL
  • Appendix B Scalar functions
  • Appendix C System variables
  • Appendix D Bibliography

Caractéristiques

  • Type produit : Ouvrage
  • Langue : Anglais
  •  
  • Editeur(s) : Addison Wesley
  • Auteur(s) : Rick Van der Lans
  •  
  • ISBN13 : 978-0-13-149735-1
  • EAN13 : 9780131497351
  • ISBN10 : 0-13-149735-9
  • Parution : 31/05/2007
  • Edition : 1ère édition
  •  
  • Nb de pages : 1032 pages
  • Couverture : Broché
  • Intérieur : Noir et Blanc
  •  

mentions légales | conditions générales de vente | copyright © 2012
(1) livraison gratuite à partir de 49 € en France métropolitaine