[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-673515-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-673515-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","sql-third-edition","SQL - Third Edition","","Visual QuickStart Guide SQL, Third Edition, presents SQL fundamentals and practical database skills through a structured progression. It covers DBMS-specific considerations, the relational model, SQL syntax and standards, data types, and core querying techniques such as SELECT, WHERE, DISTINCT, ORDER BY, and pattern and range filtering. The guide expands into operators, functions, grouping, joins, subqueries, set operations, and data modification. It also explains table creation, indexes, views, transactions, and advanced SQL tips, including how to run SQL programs across major DBMS platforms.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/sql-third-edition/673515/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/sql-third-edition/673515.png","ImageObject",300,407,{"name":42,"@type":43},"Levi","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-03","2026-11-02",true,{"@type":52,"interactionType":53,"userInteractionCount":26},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What databases and platforms does the book address for running SQL programs?","Question",{"text":62,"@type":63},"It includes guidance for major DBMS platforms such as Microsoft Access, Microsoft SQL Server, Oracle, IBM DB2, MySQL, and PostgreSQL.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Which topics are covered in SQL basics before advanced querying?",{"text":67,"@type":63},"It covers SQL syntax, standards and conformance, identifiers, and a wide range of data types, including numeric, boolean, datetime, interval, unique identifiers, and null handling.",{"name":69,"@type":60,"acceptedAnswer":70},"How does the book teach retrieving and filtering data?",{"text":71,"@type":63},"It explains SELECT with FROM, column aliases using AS, removing duplicates with DISTINCT, sorting with ORDER BY, and filtering with WHERE, including conditions with AND/OR/NOT plus LIKE, BETWEEN, IN, and IS NULL.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},673515,1793647479,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":26,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144},7971461740909,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","VISUAL QUICKSTART GUIDE  \nSQL   \nThird Edition  \nChris Fehily  \n Peachpit Press  \nVisual QuickStart Guide  \nSQL, Third Edition  \nChris Fehily  \nPeachpit Press  \n1249 Eighth Street Berkeley, CA 94710 510/524-2178  \n510/524-2221 (fax)  \n[Find us on the Web at www.peachpit.com](Find us on the Web at www.peachpit.com)  \nTo report errors, please send a note [to errata@peachpit.com](to errata@peachpit.com)[ ](to errata@peachpit.com)Peachpit Press is a division of Pearson Education  \nCopyright © 2008 by Chris Fehily  \nEditor: Cliff Colby  \nCopy Editor: Kim Wimpsett  \nProduction Coordinator: Tracey Croom  \nCompositor: David Van Ness  \nIndexer: Rebecca Plunkett  \nCover Design: Peachpit Press  \nNotice of Rights  \nAll rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. For information on getting permission for reprints and excerpts, [contact permissions@peachpit.com](contact permissions@peachpit.com).  \nNotice of Liability  \nThe information in this book is distributed on an “As Is” basis, without warranty. While every precaution has been taken in the preparation of the book, neither the author nor Peachpit Press shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the computer software and hardware products described in it.  \nTrademarks  \nVisual QuickStart Guide is a registered trademark of Peachpit Press, a division of Pearson Education.  \nMany of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Peachpit was aware of a trademark claim, the designations appear as requested by the owner of the trademark. All other product names and services identified throughout this book are used in editorial fashion only and for the benefit of such companies with no intention of infringement of the trademark. No such use, or the use of any trade name, is intended to convey endorsement or other affiliation with this book.  \nISBN 13: 978-0-321-55357-7  \nISBN 10: 0-321-55357-8 9 8 7 6 5 4 3 2 1  \nPrinted and bound in the United States of America  \nFor my father, Jack Fehily  \nSpecial thanks to…  \nCliff Colby for two in a row Kim Wimpsett for the hyphenectomy Tracey Croom and David Van Ness forkerning above and beyond  \nRebecca Plunkett for the subsubentries Troels Arvin (technical editor for the second edition), Bryan Steinweg (technical editor  \nfor the first edition), Russ Abbott, Darren Pennington for their suggestions and technical help  \nThe data in the sample database are fictional. I lifted two book titles from Iain M. Banks’ Culture novels.  \nCONTENTS AT A GLANCE  \nIntroduction xi  \nChapter 1: DBMS Specifics 1  \nChapter 2: The Relational Model 33  \nChapter 3: SQL Basics 61  \nChapter 4: Retrieving Data from a Table 87  \nChapter 5: Operators and Functions 127  \nChapter 6: Summarizing and Grouping Data 169  \nChapter 7: Joins 193  \nChapter 8: Subqueries 253  \nChapter 9: Set Operations 303  \nChapter 10: Inserting, Updating, and  \nDeleting Rows 315  \nChapter 11: Creating, Altering, and  \nDropping Tables 337  \nChapter 12: Indexes 377  \nChapter 13: Views 385  \nChapter 14: Transactions 399  \nChapter 15: SQL Tricks 405  \nIndex 465  \nContents at a Glance  \nTable of Contents  \nTABLE OF CONTENTS  \nIntroduction xi  \nAbout SQL .................................. xii  \nAbout This Book ............................ xvi  \nWhat You’ll Need ............................ xx  \nChapter 1: DBMS Specifics 1  \nRunning SQL Programs ....................... 2  \nMicrosoft Access ............................. 5  \nMicrosoft SQL Server ........................ 10  \nOracle ...................................... 17  \nIBM DB2 .................................... 20  \nMySQL ...............","cbCaimmEi1Nctpcw","https://ap.wps.com/l/cbCaimmEi1Nctpcw","pdf",4676798,504,"English","# Introduction\n## About SQL\n## About This Book\n## What You’ll Need\n# Chapter 1: DBMS Specifics\n## Running SQL Programs\n## Microsoft Access\n## Microsoft SQL Server\n## Oracle\n## IBM DB2\n## MySQL\n## PostgreSQL\n# Chapter 2: The Relational Model\n## Tables, Columns, and Rows\n## Primary Keys\n## Foreign Keys\n## Relationships\n## Normalization\n## The Sample Database\n## Creating the Sample Database\n# Chapter 3: SQL Basics\n## SQL Syntax\n## SQL Standards and Conformance\n## Identifiers\n## Data Types\n## Character String Types\n## Binary Large Object Type\n## Exact Numeric Types\n## Approximate Numeric Types\n## Boolean Type\n## Datetime Types\n## Interval Types\n## Unique Identifiers\n## Other Data Types\n## Nulls\n# Chapter 4: Retrieving Data from a Table\n## Retrieving Columns with SELECT and FROM\n## Creating Column Aliases with AS\n## Eliminating Duplicate Rows with DISTINCT\n## Sorting Rows with ORDER BY\n## Filtering Rows with WHERE\n## Combining and Negating Conditions with AND, OR, and NOT\n## Matching Patterns with LIKE\n## Range Filtering with BETWEEN\n## List Filtering with IN\n## Testing for Nulls with IS NULL\n# Chapter 5: Operators and Functions\n## Creating Derived Columns\n## Performing Arithmetic Operations\n## Determining the Order of Evaluation","[{\"question\":\"What databases and platforms does the book address for running SQL programs?\",\"answer\":\"It includes guidance for major DBMS platforms such as Microsoft Access, Microsoft SQL Server, Oracle, IBM DB2, MySQL, and PostgreSQL.\"},{\"question\":\"Which topics are covered in SQL basics before advanced querying?\",\"answer\":\"It covers SQL syntax, standards and conformance, identifiers, and a wide range of data types, including numeric, boolean, datetime, interval, unique identifiers, and null handling.\"},{\"question\":\"How does the book teach retrieving and filtering data?\",\"answer\":\"It explains SELECT with FROM, column aliases using AS, removing duplicates with DISTINCT, sorting with ORDER BY, and filtering with WHERE, including conditions with AND/OR/NOT plus LIKE, BETWEEN, IN, and IS NULL.\"}]","SQL - Third Edition | PDF",1270]