• Complain

Molinaro - SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2]

Here you can read online Molinaro - SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2] full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Beijing, year: 2011;2009, publisher: OReilly Media, genre: Romance novel. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Molinaro SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2]
  • Book:
    SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2]
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2011;2009
  • City:
    Beijing
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2]: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2]" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

You know the rudiments of the SQL query language, yet you feel you arent taking full advantage of SQLs expressive power. Youd like to learn how to do more work with SQL inside the database before pushing data across the network to your applications. Youd like to take your SQL skills to the next level.

Lets face it, SQL is a deceptively simple language to learn, and many database developers never go far beyond the simple statement: SELECT columns FROM table WHERE conditions. But there is so much more you can do with the language. In the SQL Cookbook , experienced SQL developer Anthony Molinaro shares his favorite SQL techniques and features. Youll learn about:

  • Window functions, arguably the most significant enhancement to SQL in the past decade. If youre not using these, youre missing out
  • Powerful, database-specific features such as SQL Servers PIVOT and UNPIVOT operators, Oracles MODEL clause, and PostgreSQLs very useful...

Molinaro: author's other books


Who wrote SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2]? Find out the surname, the name of the author of the book and a list of all author's works by series.

SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2] — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2]" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
SQL Cookbook
Anthony Molinaro
Beijing Cambridge Farnham Kln Sebastopol Tokyo Dedication To my mom Youre - photo 1

Beijing Cambridge Farnham Kln Sebastopol Tokyo

Dedication

To my mom :

Youre the best! Thank you for everything .

Special Upgrade Offer

If you purchased this ebook directly from oreilly.com, you have the following benefits:

  • DRM-free ebooksuse your ebooks across devices without restrictions or limitations

  • Multiple formatsuse on your laptop, tablet, or phone

  • Lifetime access, with free updates

  • Dropbox syncingyour files, anywhere

If you purchased this ebook from another retailer, you can upgrade your ebook to take advantage of all these benefits for just $4.99. to access your ebook upgrade.

Please note that upgrade offers are not available from sample content.

A Note Regarding Supplemental Files

Supplemental files and examples for this book can be found at http://examples.oreilly.com/9780596009762/. Please use a standard desktop web browser to access these files, as they may not be accessible from all ereader devices.

All code files or examples referenced in the book will be available online. For physical books that ship with an accompanying disc, whenever possible, weve posted all CD/DVD content. Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to .

Preface

SQL is the language in the database world. If youre developing for or reporting from relational databases, your ability to put data into a database and then get it back out again ultimately comes down to your knowledge of SQL. Yet many practitioners use SQL in a perfunctory manner, and are unaware of the power at their disposal. This book aims to change all that, by opening your eyes to what SQL can really do for you.

The book youre holding in your hands is a cookbook. Its a collection of common SQL problems and their solutions that I hope youll find helpful in your day-to-day work. Recipes are categorized into chapters of related topics. When faced with a new SQL problem that you havent solved before, find the chapter that best seems to apply, skim through the recipe titles, and hopefully you will find a solution, or at least inspiration for a solution.

More than 150 recipes are available in this 600-plus page book, and Ive only scratched the surface of what can be done using SQL. The number of different SQL solutions available for solving our daily programming problems is eclipsed only by the number of problems we need to solve. You wont find all possible problems covered in this book. Indeed, such coverage would be impossible. You will, however, find many common problems and their solutions. And in those solutions lie techniques that youll learn how to expand upon and apply to other, new problems that I never thought to cover.

Tip

My publisher and I are constantly on the lookout for new, cookbook-worthy SQL recipes. If you come across a good or clever SQL solution to a problem, consider sharing it; consider sending it in for inclusion in the next edition of this book. See Comments and Questions for our contact information.

Why I Wrote This Book

Queries, queries, queries. My goal from the beginning of this project has not been so much to write a SQL Cookbook as to write a Query Cookbook. Ive aimed to create a book comprised of queries ranging from the relatively easy to the relatively difficult in hopes the reader will grasp the techniques behind those queries and use them to solve his own particular business problems. I hope to pass on many of the SQL programming techniques Ive used in my career so that you, the reader, will take them, learn from them, and eventually improve upon them; through this cycle we all benefit. Being able to retrieve data from a database seems so simple, yet in the world of Information Technology (IT) its crucial that the operation of data retrieval be done as efficiently as possible. Techniques for efficient data retrieval should be shared so that we can all be efficient and help each other improve.

Consider for a moment the outstanding contribution to mathematics by Georg Cantor, who was the first to realize the vast benefit of studying sets of elements (studying the set itself rather than its constituents). At first, Cantors work wasnt accepted by many of his peers. In time, though, it was not only accepted, but set theory is now considered the foundation of mathematics! More importantly, however, it was not through Cantors work alone that set theory became what it is today; rather, by sharing his ideas, others such as Ernst Zermelo, Gottlob Frege, Abraham Fraenkel, Thoralf Skolem, Kurt Gdel, and John von Neumann developed and improved the theory. Such sharing not only provided everyone with a better understanding of the theory, it made for a better set theory than was first conceived.

Objectives of This Book

Ultimately, the goal of this book is to give you, the reader, a glimpse of what can be done using SQL outside of what is considered the typical SQL problem domain. SQL has come a very long way in the last ten years. Problems typically solved using a procedural language such as C or JAVA can now be solved directly in SQL, but many developers are simply unaware of this fact. This book is to help make you aware.

Now, before you take what I just said the wrong way, let me state that I am a firm believer in, If it aint broke, dont fix it. For example, lets say you have a particular business problem to solve, and you currently use SQL to simply retrieve your data while applying your complex business logic using a language other than SQL. If your code works and performance is acceptable, then great. I am in no way suggesting that you scrap your code for a SQL-only solution; I only ask that you open your mind and realize that the SQL you programmed with in 1995 is not the same SQL being used in 2005. Todays SQL can do so much more.

Audience for This Book

This text is unique in that the target audience is wide, but the quality of the material presented is not compromised. Consider that both complex and simple solutions are provided, and that solutions for five different vendors are available when a common solution does not exist. The target audience is indeed wide:

The SQL novice

Perhaps you have just purchased a text on learning SQL, or you are fresh into your first semester of a required database course and you want to supplement your new knowledge with some challenging real world examples. Maybe youve seen a query that magically transforms rows to columns, or that parses a serialized string into a result set. The recipes in this book explain techniques for performing these seemingly impossible queries.

The non-SQL programmer

Perhaps your background is in another language and youve been thrown into the fire at your current job and are expected to support complex SQL written by someone else. The recipes shown in this book, particularly in the later chapters, break down complex queries and provide a gentle walk-through to help you understand complex code that you may have inherited.

The SQL journeyman

For the intermediate SQL developer, this book is the gold at the end of the rainbow (OK, maybe thats too strong; please forgive an authors enthusiasm for his topic). In particular, if youve been coding SQL for quite some time and have not found your way onto window functions, youre in for a treat. For example, the days of needing temporary tables to store intermediate results are over; window functions can get you to an answer in a single query! Allow me to again state that I have no intention of trying to force-feed my ideas to an already experienced practitioner. Instead, consider this book as a way to update your skill set if you havent caught on to some of the newer additions to the SQL language.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2]»

Look at similar books to SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2]. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2]»

Discussion, reviews of the book SQL cookbook [query solutions and techniques for database developers ; covers SQL server, PostgreSQL, Oracle, MySQL, and DB2] and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.