[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-609274-105":59,"doc-detail-609274-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","narrative-sql-crafting-data-analysis-queries-that-tell-stories-introduction","Narrative SQL - Crafting Data Analysis Queries That Tell Stories - Introduction","","Narrative SQL presents a narrative-driven approach to learning and applying SQL for data analysis. The book connects query writing to clear communication by moving from fundamentals such as SELECT, filters, and JOINs toward advanced techniques including aggregations, subqueries, conditional logic, window functions, and performance tuning. It is designed for readers from beginner to practitioner, emphasizing practical storytelling that turns raw data into persuasive insights. All examples are developed and tested on PostgreSQL 14.17.",{"@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":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/narrative-sql-crafting-data-analysis-queries-that-tell-stories-introduction/609274/",{"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/narrative-sql-crafting-data-analysis-queries-that-tell-stories-introduction/609274.png","ImageObject",300,407,{"name":92,"@type":93},"Bintang","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-26","2026-10-18",true,{"@type":102,"interactionType":103,"userInteractionCount":14},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is the core idea behind Narrative SQL?","Question",{"text":112,"@type":113},"It frames SQL learning as mastering a language of communication, using narrative structure to help readers shape information into compelling stories.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What topics does the book cover after the basics?",{"text":117,"@type":113},"It expands into queries that turn raw data into insights, including aggregations, subqueries, conditional logic, and more.",{"name":119,"@type":110,"acceptedAnswer":120},"Which database system are the queries tested on?",{"text":121,"@type":113},"The book states that all presented queries were developed and thoroughly tested on PostgreSQL 14.17.","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},609274,1792986871,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145},962085564381,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Hamed Tabrizchi  \nNarrative SQL  \nCrafting Data Analysis Queries That Tell Stories  \nHamed Tabrizchi  \nUniversity of Tabriz, Tabriz, Iran  \nISBN 979-8-8688-1559-1 e-ISBN 979-8-8688-1560-7  \n[https://doi.org/10.1007/979-8-8688-1560-7](https://doi.org/10.1007/979-8-8688-1560-7)  \n© Hamed Tabrizchi 2025  \nThis work is subject to copyright. All rights are solely and exclusively licensed by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.  \nThe use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.  \nThe publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors oromissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.  \nThis Apress imprint is published by the registered company APress Media, LLC, part of Springer Nature.  \nThe registered company address is: 1 New York Plaza, New York, NY 10004, U. S.A.  \nTo my adorable father, Hamid, my kind-hearted mother, Soheyla, and my wonderful brother, Mohammad—each of whom helped me understand the true value of life.  \nTo Shaul and Gryffin, who believed in me and stood by me every step of the way.  \nIntroduction  \nIn the past decade, data analysis and SQL have played a central role in my professional career. My passion for query writing began during my bachelor’s studies, where I completed a database course with full marks. As a result of this achievement, I was given the opportunity to become a teaching assistant the following semester, where I gained experience writing queries and explaining them to students. Despite speaking with a trembling voice at first, this role helped me gain confidence in technical communication and public speaking, and enhanced my advanced query-writing skills. These early experiences laid the foundation for my current expertise in SQL and data analysis, fundamental to my next career accomplishment.  \nAfter a year, I started working for a technology company, where I encountered more complex challenges. As a data analysis intern, two of the challenges I encountered included the lack of neatly organized data and the difficulty of collaborating. It was difficult and very different from teaching or solving textbook exercises to coordinate projects among programmers, query writers, UI/UX designers, and the other members of the team. Despite all the challenges, I was motivated day by day to gain experience and skills from my colleagues and improve my analytical skills to become a data analyst who has an insightful perspective.  \nThroughout the years, I have dealt with a number of projects and gained deeper insights and better analytical skills from the past. One day I decided that I had an insight that I could share with those who are interested in data analysis and query writing. So, I decided to write this book to teach what formed this perspective within me, in as much detail as I could. The core concept of this book is SQL query writing, which is at the core of my day-to-day activities, whether as a data analyst, a university lecturer, or a data team leader.  \nI believe that at the present time, people who are able to shape information into compel","cbCairPpkZnA8IKk","https://ap.wps.com/l/cbCairPpkZnA8IKk","pdf",2773371,366,"English","# Introduction\n## Foundations: SELECT, filters, JOINs\n## Transforming data into insights: aggregations, subqueries, conditional logic\n## Advanced mastery: window functions, optimization, analytical storytelling","[{\"question\":\"What is the core idea behind Narrative SQL?\",\"answer\":\"It frames SQL learning as mastering a language of communication, using narrative structure to help readers shape information into compelling stories.\"},{\"question\":\"What topics does the book cover after the basics?\",\"answer\":\"It expands into queries that turn raw data into insights, including aggregations, subqueries, conditional logic, and more.\"},{\"question\":\"Which database system are the queries tested on?\",\"answer\":\"The book states that all presented queries were developed and thoroughly tested on PostgreSQL 14.17.\"}]","Narrative SQL - Crafting Data Analysis Queries That Tell Stories - Introduction | PDF",1792358209,922]