Learning SQL
Home > Computing and Information Technology > Computer programming / software engineering > Database programming > Learning SQL
Learning SQL

Learning SQL

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

SQL (Structured Query Language) is a standard programming language for generating, manipulating, and retrieving information from a relational database. If you're working with a relational database - whether you're writing applications, performing administrative tasks, or generating reports - you need to know how to interact with your data. Even if you are using a tool that generates SQL for you, such as a reporting tool, there may still be cases where you need to bypass the automatic generation feature and write your own SQL statements. To help you attain this fundamental SQL knowledge, look to "Learning SQL", an introductory guide to SQL, designed primarily for developers just cutting their teeth on the language. "Learning SQL" moves you quickly through the basics and then on to some of the more commonly used advanced features. Among the topics discussed are: the history of the computerized database; SQL Data Statements - those used to create, manipulate, and retrieve data stored in your database; example statements include select, update, insert, and delete; SQL Schema Statements - those used to create database objects, such as tables, indexes, and constraints; how data sets can interact with queries; the importance of subqueries; data conversion and manipulation via SQL's built-in functions; and how conditional logic can be used in Data Statements. Best of all, "Learning SQL" talks to you in a real-world manner, discussing various platform differences that you're likely to encounter and offering a series of chapter exercises that walk you through the learning process. Whenever possible, the book sticks to the features included in the ANSI SQL standards. This means you'll be able to apply what you learn to any of several different databases; the book covers MySQL, Microsoft SQL Server, and Oracle Database, but the features and syntax should apply just as well (perhaps with some tweaking) to IBM DB2, Sybase Adaptive Server, and PostgreSQL. Put the power and flexibility of SQL to work. With "Learning SQL" you can master this important skill and know that the SQL statements you write are indeed correct.

Table of Contents:
Preface 1. A Little Background Introduction to Databases What Is SQL? What Is MySQL? What's in Store 2. Creating and Populating a Database Creating a MySQL Database Using the mysql Command-Line Tool MySQL Data Types Table Creation Populating and Modifying Tables When Good Statements Go Bad The Bank Schema 3. Query Primer Query Mechanics Query Clauses The select Clause The from Clause The where Clause The group by and having Clauses The order by Clause Exercises 4. Filtering Condition Evaluation Building a Condition Condition Types NULL: That Four-Letter Word Exercises 5. Querying Multiple Tables What Is a Join? Joining Three or More Tables Self-Joins Equi-Joins Versus Non-Equi-Joins Join Conditions Versus Filter Conditions Exercises 6. Working with Sets Set Theory Primer Set Theory in Practice Set Operators Set Operation Rules Exercises 7. Data Generation, Conversion, and Manipulation Working with String Data Working with Numeric Data Working with Temporal Data Conversion Functions Exercises 8. Grouping and Aggregates Grouping Concepts Aggregate Functions Generating Groups Group Filter Conditions Exercises 9. Subqueries What Is a Subquery? Subquery Types Noncorrelated Subqueries Correlated Subqueries When to Use Subqueries Subquery Wrap-up Exercisesm 10. Joins Revisited Outer Joins Cross Joins Natural Joins Exercises 11. Conditional Logic What Is Conditional Logic? The Case Expression Case Expression Examples Exercises 12. Transactions Multiuser Databases What Is a Transaction? 13. Indexes and Constraints Indexes Constraints A. ER Diagram for Example Database B. MySQL Extensions to the SQL Language C. Solutions to Exercises D. Further Resources Index


Best Sellers


Product Details
  • ISBN-13: 9780596007270
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Height: 232 mm
  • Returnable: N
  • Width: 181 mm
  • ISBN-10: 0596007272
  • Publisher Date: 27 Sep 2005
  • Binding: Paperback
  • Language: English
  • Weight: 504 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Learning SQL
O'Reilly Media -
Learning SQL
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Learning SQL

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!