[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-656141-105":59,"doc-detail-656141-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","a-visual-introductionto-sql-by-j-harvey-trimble-jr-and-david-chappell","A Visual Introductionto SQL - by J. Harvey Trimble Jr. and David Chappell","","A visual, step-by-step introduction to SQL that teaches core database concepts and query construction through progressively more advanced examples. Covers relational concepts, tables, rows, columns, keys, and an example database, then builds queries using SELECT, WHERE filtering, logical predicates, and pattern and set operators. Extends to aggregates, grouping with HAVING, joins across multiple tables, subqueries including correlated forms, and schema changes such as creating/dropping tables, adding/modifying/deleting records, and defining views. Concludes with privilege management and advanced topics like indexes, unions, and self-joins.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/a-visual-introductionto-sql-by-j-harvey-trimble-jr-and-david-chappell/656141/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/a-visual-introductionto-sql-by-j-harvey-trimble-jr-and-david-chappell/656141.png","ImageObject",300,407,{"name":92,"@type":93},"Sophia Brooks","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-30","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What database concepts and SQL fundamentals are covered first?","Question",{"text":112,"@type":113},"The book starts with introducing SQL and database system kinds, then covers relational concepts, tables, rows, columns, keys, and an example table and database. It also outlines the visual approach and the plan of the book.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the book teach filtering and logic in SELECT queries?",{"text":117,"@type":113},"It explains selecting specific columns, selecting all columns, and then retrieving only certain records using the WHERE clause. It covers comparisons and combining predicates, including AND, OR, and NOT, plus operators like BETWEEN, LIKE, IN, and IS NULL.",{"name":119,"@type":110,"acceptedAnswer":120},"What advanced SQL topics are included after basic querying?",{"text":121,"@type":113},"The later chapters include grouping with HAVING, joining multiple tables (including multi-table joins and GROUP BY in joins), subqueries (ANY/ALL, existence tests, correlated subqueries), and schema and data operations. It further includes views, GRANT/REVOKE privileges, and advanced topics such as indexes, unions, and self-joins.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},656141,1793030773,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":24,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":143,"read_time":144},962084925636,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","# A Visual Introductionto SQL\n\n### J.Harvey Trimble,Jr.David Chappell\n\nTechnische Hochschule DarmstadtFACHBEREICH NFOBMATIK  \nBI BL IOTH EK  \n##### Inventar-Nr:…9226…………………Sachgebiete:….H2.3…    …Standort:…585…………  ………\n\nJohn Wiley &Sons—  \n1  \n2  \n3  \nContents  \nIntroducing SQL  \nKinds of Database Systems …………………………………………………………………………………1  \nRelational Concepts…………………………………………………………………………………………………………2  \nTables, Rows, and Columns ........!………………………………………………2  \nKeys………………………………………………………………………………………………………………………3  \nAn Example Table………………………………………………………………………………………4  \nThe Visual Approach …………………………………………………………………………………………5  \nThe Plan of This Book ……………………………………………………………………………………………………………6  \nElements of the Language  \nWays to Use SQL……………………………………………………………………………………………………………7  \nVersions of SQL…………………………………………………………………………………………………………………7  \nDefining the Language……………………………………………………………………………………………8  \nData Types ……………………………………………………………………………………………………………9  \nThe Structure of SQLStatements …………………………………………………………10  \nKeywords ……………………………………………………………………………………………………11  \nAn Example Database………………………………………………………………………………………11  \nOrganization of the Examples………………………………………………………………………14  \nRetrieving Data From a Table: The SELECT  \nStatement  \nSelecting Specific Columns in a Table………………………………………………………16  \nSelecting All Columns in a Table …………………………………………………………………19  \nSelecting Only Some of a Table's Records: The WHERE Clause ………22  \nComparisons in a WHERE Clause …………………………………………………………………………22  \nCombining Predicates in a WHERE Clause………………………………………………………27  \nUsing AND……………………………………………………………………………………………………………27  \nUsing OR………………………………………………………………………………………………………………30  \nUsing NOT………………………………………………………………………………………………33  \nvi Contents  \nOther Uses of WHERE……………………………………………………………………………………………………………35  \nBETWEEN and NOT BETWEEN…………………………………………………………………35  \nLIKE and NOT LIKE …………………………………………………………………………………38  \nIN and NOT IN ………………………………………………………………………………………………43  \nIS NULL and IS NOT NULL……………………………………………………………………46  \n4  \nMore On SELECT  \nOrdering Selected Data………………………………………………………………………………………………49  \nDoing Arithmetic With Selected Information…………………………………………56  \nUsing Aggregates ……………………………………………………………………………………………59  \nFinding Maximum and Minimum Values ………………………………………59  \nTotalling Columns……………………………………………………………………………………………63  \nFinding Averages ………………………………………………………………………………………66  \nCounting Records …………………………………………………………………………………………68  \nUsing DISTINCT……………………………………………………………………………………………71  \nGrouping Selected Data …………………………………………………………………………………74  \nMore on Grouping:the HAVING Clause ……………………………………………………82  \n5  \nRetrieving Data From Several Tables:Joins  \nf  \nQualified Names……………………………………………………………………………………………………………86  \nWhat is a Join?………………………………………………………………………………………………………………………87  \nRestricting the Results of a Join……………………………………………………………………………91  \nQuery Diagrams for Joins ………………………………………………………………………………93  \nManipulating the Results of a Join …………………………………………………………………98  \nAliases…………………………………………………………………………………………………………………………………………………102  \nJoins With Three Tables ……………………………………………………………………………………………105  \nThe Visual Approach With More Than Two Tables ………………105  \nJoins With More Than Three Tables…………………………………………………………………114  \nRetrieving the Same Information in Different Ways…………………114  \nUsing GROUP BY in a Join…………………………………………………………………………………120  \n6  \nQueries Within Queries: Subqueries  \nWhat is a Subquery? …………………………………………………………………………………………………124  \nUsing Comparison Operators With Subqueries………………………………………127  \nUsing ANY and ALL……………………………………………………………………………………………………131  \nExistence Tests………………………………………………………………………………………………………………………………138  \nCorrelated Subqueries …………………………………………………………………………………138  \nUsing HAVING With Correlated Subqueries………………………………140  \n7  \nCreating and Destroying Tables  \nCreating a Table……………………………………………………………………………………………………………148  \nDisallowing NULL Values …………………………………………………………………149  \nRequiring Unique Values in a Column ………………………………………150  \nDestroying(D","cbCaihZTcvfRAoQv","https://ap.wps.com/l/cbCaihZTcvfRAoQv","pdf",115126,"English","# Contents\n## Introducing SQL\n## Elements of the Language\n## Ways to Use SQL\n## Versions of SQL\n## Defining the Language\n## Data Types\n## The Structure of SQL Statements\n## Retrieving Data From a Table: The SELECT Statement\n## More On SELECT\n## Retrieving Data From Several Tables: Joins\n## Queries Within Queries: Subqueries\n## Creating and Destroying Tables\n## Adding, Modifying, and Deleting Records\n## Views\n## Granting and Revoking Privileges\n## Advanced Topics\n## Appendix: The Example Database","[{\"question\":\"What database concepts and SQL fundamentals are covered first?\",\"answer\":\"The book starts with introducing SQL and database system kinds, then covers relational concepts, tables, rows, columns, keys, and an example table and database. It also outlines the visual approach and the plan of the book.\"},{\"question\":\"How does the book teach filtering and logic in SELECT queries?\",\"answer\":\"It explains selecting specific columns, selecting all columns, and then retrieving only certain records using the WHERE clause. It covers comparisons and combining predicates, including AND, OR, and NOT, plus operators like BETWEEN, LIKE, IN, and IS NULL.\"},{\"question\":\"What advanced SQL topics are included after basic querying?\",\"answer\":\"The later chapters include grouping with HAVING, joining multiple tables (including multi-table joins and GROUP BY in joins), subqueries (ANY/ALL, existence tests, correlated subqueries), and schema and data operations. It further includes views, GRANT/REVOKE privileges, and advanced topics such as indexes, unions, and self-joins.\"}]","A Visual Introductionto SQL - by J. Harvey Trimble Jr. and David Chappell | PDF",1792966697,13]