MySQL
  Home arrow MySQL arrow What’s New In MySQL 4.1 Part One: Over...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
IBM Rational Software Development Conference
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MYSQL

What’s New In MySQL 4.1 Part One: Overview and Subqueries
By: David Fells
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 47
    2005-03-14

    Table of Contents:
  • What’s New In MySQL 4.1 Part One: Overview and Subqueries
  • Scalar and Correlated Subqueries
  • Derived Tables
  • Row Level Subquery

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Ziff Davis Enterprise Virtual Tradeshows: Hot Topics, Cutting Edge Technology, Real-time Networking among IT Professionals. Learn more

    What’s New In MySQL 4.1 Part One: Overview and Subqueries
    (Page 1 of 4 )

    The current release of MySQL, version 4.1.10, offers significant improvements over version 4. While it still has some room for improvement, its new features and capabilities should silence the critics who have up until now regarded it as little more than a toy. In this article, the first of two parts, David Fells covers scalar and correlated queries, derived tables, and row level subqueries.

    Back in October of 2004, MySQL 4.1.7, the first production release of MySQL, was made available to the public. Like many other developers I had participated in testing MySQL 4.1 from the start, and eagerly awaited the day that the final release would be ready for production. With version 4, and especially version 4.1, MySQL has started to come of age. In this article we will cover all the big changes as well as most of the minor ones that have been seen in version 4 so far, up to and including the current release, 4.1.10.

    For years it has been regarded as a toy by SQL Server, DB2 and Oracle afficionados, who pointed out the lack of support for advanced RDBMS features like views, triggers, stored procedures and subqueries. While there are still many features lacking in MySQL, nearly all of them are slated for releate in MySQL 5 – and version 4 does a considerable job closing the gap between fledgling small business database and mature enterprise database. It is true that, since version 3.23, MySQL has been a top contender for the best performance in a number of database benchmarks, largely due to its efficient use of indexes and incredible ability to optimize table joins. Without features like views and subqueries though, MySQL has left complex reporting tasks entirely to whatever host language is taking advantage of it – be it directly through PHP or via import into MS Excel.

    MySQL 4.1 had three main focal areas with new features: subqueries and derived tables, character sets, and replication. In addition to these areas, there were many changes to improve standards compliance and portability; some functions were added, as well as some especially useful modifiers for typical statements.

    More MySQL Articles
    More By David Fells


       · The SQL example for NOT EXISTS is wrong. It is not a correlated subquery,...
       · I'll have another look at the example but I'm sure you are correct, the examples I...
       · I'm not sure why people continue to use mySQL. It's difficult to write actual...
       · Nice article you got here. :-)By the way, i agree that PostgreSQL is better...
       · I'm not sure that you could dub it truly "difficult" to code MySQL apps without...
       · MySQL supports referential integrity when you use the InnoDB table type, which is...
     

       

    MYSQL ARTICLES

    - MySQL Table Prefix Changer Tool in PHP
    - Using the SIGNAL Statement for Error Handling
    - Error Handling Examples
    - Error Handling
    - Completing a Search Engine with MySQL and PH...
    - Paginating Result Sets for a Search Engine B...
    - Building a Search Engine with MySQL and PHP 5
    - Using Boolean Operators for Full Text and Bo...
    - PHP, MySQL and the PEAR Database
    - Working with PHP and MySQL
    - Getting PHP to Talk to MySQL
    - Creating an RSS Reader: the Reader
    - MySQL Security Overview
    - Creating the Admin Script for a PHP/MySQL Bl...
    - Creating the Blog Script for a PHP/MySQL Blo...




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway