Analyze data effectively, uncover insights and master advanced SQL for real-world applications
Jun Shan, Haibin Li, Matt Goldwasser, Upom Malik, Benjamin Johnston

#SQL
#Data_Analytics
#JSON
#datasets
#data
#real-world
💡 یاد بگیر چطور با تکنیکهای پیشرفتهی SQL مشکلات واقعی بیزنسی رو حل کنی.
🌍 کار با دادههای زمانی، مکانی (geospatial) و متنی با PostgreSQL رو یاد بگیر.
🧩 با پروژههای عملی SQL، مهارت تحلیل دادهات رو تا سطح حرفهای ببر بالا.
📕 با خرید نسخهی چاپی یا Kindle، یک نسخهی PDF رایگان هم دریافت میکنی.
🔹 SQL هنوز هم یکی از قدرتمندترین ابزارها در دنیای تحلیل دادهست؛ ابزاری که کمک میکنه دادهها رو به تصمیم تبدیل کنیم. این کتاب نشونت میده چطور از نوشتن صرفِ query فراتر بری و به بینشی برسی که واقعاً ارزش ایجاد میکنه.
🔹 کتاب SQL for Data Analytics (ویرایش چهارم) برای هرکسیه که میخواد از قواعد پایهای SQL عبور کنه و با اطمینان دادههای واقعی رو تحلیل کنه. چه بار اول باشه که داری دادههای تولید رو بررسی میکنی، و چه بخوای ابزارهای تحلیلیت رو ارتقا بدی، این کتاب مهارتهایی بهت میده که دادهها رو به نتایج عملی تبدیل کنی.
🔹 کار رو با ساخت و مدیریت پایگاههای دادهٔ ساختیافته شروع میکنی، بعد قدمبهقدم جلو میری سمت بازیابی، تبدیل و خلاصهسازی دادهها. از اونجا وارد مباحث پیشرفتهتری مثل window functionها، عملیات آماری و تحلیل دادههای مکانی، زمانی و متنی میشی.
🔹 با تمرینهای عملی، مطالعهی موردی (case study) و راهنماییهای جزئی در تمام مسیر، این کتاب آمادهت میکنه که SQL رو در موقعیتهای واقعی کاری بهکار بگیری—از تمیز کردن داده گرفته تا ساخت داشبورد و ارائهی نتایج به ذینفعها. در پایان، یه جعبهابزار قدرتمند SQL خواهی داشت که دقیقاً با کار روزمرهی تحلیلگرها همراسته.
🚀 نوشتن query برای تحلیل و خلاصهسازی دادههای ساختیافته.
🔗 کار با JOIN، زیرپرسوجو (subquery)، view و CTE به شکل مؤثر.
📊 استفاده از window functionها برای تشخیص الگوها و روندها.
📈 اجرای تحلیل آماری و آزمون فرضیه در SQL.
🌐 تحلیل دادههای JSON، آرایهها، مکانی و سریهای زمانی.
⚙️ بهبود عملکرد SQL با استفاده از ایندکس و query plan.
🐍 بارگذاری دادهها با Python و خودکارسازی جریانهای تحلیلی.
🧮 انجام یک مطالعهی موردی واقعی برای تجربهی حل مسئلهی تحلیلی.
این کتاب برای مهندسان داده، توسعهدهندههای بکاند، تحلیلگرها و دانشجوهایی نوشته شده که میخوان SQL رو برای تحلیل دادههای واقعی بهکار ببرن. لازمه فقط با مفاهیم پایهی SQL و ریاضیات در سطح دانشگاه (مثلاً آمار مقدماتی) آشنا باشی؛ و البته انگیزه داشته باشی که مهارتهات رو در زمینهی تبدیل داده به بینش و تصمیمِ هوشمند ارتقا بدی.
📣 نقد و نظر دربارهی کتاب SQL for Data Analytics (ویرایش چهارم)
💬 استیو هیوز – Microsoft Data Platform MVP، بنیانگذار Data On Wheels، نویسندهی کتابهای Hands‑On SQL Server 2019 Analysis Services و SQL Server Cube Development Cookbook:
«SQL for Data Analytics یه کتاب عالیه برای تحلیلگرها، برنامهنویسها و هرکسی که میخواد عمیقتر وارد دنیای SQL بشه و یاد بگیره چطور دادهها رو تو پایگاههای داده رابطهای مدیریت کنه. نویسندهها با تمرینهای کاربردی، مهارت عملی رو درگیر یادگیری میکنن و با مثالهای بیزنسی نشون میدن چطور میشه مسائل واقعی رو حل کرد. این کتاب طیف گستردهای از مباحث SQL رو پوشش میده و با پرداختن به چالشهای واقعی مثل مدیریت دادههای JSON، ارزش بیشتری ایجاد میکنه. پیشنهادش میکنم برای هرکسی که میخواد SQL یاد بگیره و دید تحلیلیاش رو گسترش بده.»
💬 انریکو پیروتزی – همبنیانگذار DataInf و نویسندهی Learn PostgreSQL:
«SQL for Data Analytics (ویرایش چهارم) منبع مرجعی فوقالعادهست که تونسته تعادلی عالی بین دقت زبان SQL و کاربرد واقعی اون در تحلیل داده حرفهای برقرار کنه. بهشدت توصیه میشه برای دانشجوها و تازهکارهایی که قصد دارن خودآموز SQL رو یاد بگیرن، و همینطور برای حرفهایهایی که میخوان دانششون از قابلیتها و بهینهسازیهای پیشرفته رو تثبیت کنن. ترکیب تخصص نویسندهها، خصوصاً جون شان با بیش از ۲۰ سال تجربه در مدیریت داده، تضمینکنندهی اعتبار و بهروز بودن محتوای کتابه.»
💬 ویجای کومار ردی وودی – دکتری (Ph.D. candidate) در علوم داده، مدیر برنامههای Data Science در دانشگاه Saint Peter’s:
«نسخهی چهارم SQL for Data Analytics ترکیبی استثنایی از وضوح، ساختار و عمق عملی ارائه میده. پل ارتباطی بین یادگیری دانشگاهی و دنیای واقعی تحلیله؛ از طریق تمرینهای PostgreSQL و ادغام با مفاهیم مدرن علم داده. مطالعهی این کتاب برای هرکسی که جدی دنبال بنای یک پایهی محکم در تحلیل دادهست، واجبه.»
💬 مایکل کوکلی – مدیر ارشد اطلاعات (CIO)، استاد کمکی علوم کامپیوتر و IT در دانشگاه کلمبیا:
«بهعنوان کسی که بیش از ۳۰ سال با زبان SQL کار کرده و حدود ۱۵ سال هم آموزش داده، باید بگم این کتاب برای هر متخصص علم داده که میخواد SQL رو یاد بگیره، تمرین کنه یا دانش فعلیش رو بهینه کنه، ضروریه. ساختار کتاب—ترکیب تمرینهای عملی با توضیح دقیق مفاهیم—کلید حفظ دانش و کاربردیه. نویسندهها واقعاً کار فوقالعادهای انجام دادن در طراحی کتاب و تمرکز بر نیازهای دانشمندان دادهی امروز و فردا.»
1. جون شان
مشاور ارشد راهحلهای ابری و معمار داده با بیش از ۲۰ سال تجربهی حرفهای در حوزهی مدیریت داده. از شروع کارش در این زمینه تا امروز برای شرکتهایی مثل Amazon و Bank of America راهحلهای دادهای طراحی کرده. علاوه بر کار صنعتی، در چند دانشگاه دربارهی پایگاههای داده رابطهای و SQL تدریس میکنه. نویسندهی ویرایش سوم همین کتابه و مدرک کارشناسیارشد علوم کامپیوتر از Virginia Tech داره.
2. هایبین لی
دارای مدرک دکتری در هواشناسی از دانشگاه Rutgers. الان بهعنوان مدلساز پیشبینی در صنعت بیمه فعالیت میکنه و حدود یک دهه تجربه در علم داده داره. به مدیریت داده و SQL تسلط بالایی داره و نقش بازبین فنی نسخهی سوم کتاب SQL for Data Analytics رو برعهده داشته.
3. مت گلدواسر
معاون رئیس و رئیس واحد هوش مصنوعی و علم داده در بخش توزیع جهانی شرکت T. Rowe Price. او راهبردهای بزرگ مبتنی بر ML و تحلیل پیشرفته رو در کل سازمان اجرا میکنه. با بیش از ۸ سال سابقه در این شرکت، تخصصی در علوم داده کاربردی، MLOps و AWS داره و تمرکزش روی مقیاسپذیر کردن AI در سطح سازمانه. پیشتر در شرکتهایی مثل OnDeck، Millennium Management، GE و Port Authority of NY & NJ فعالیت داشته و شناختهشدهست در تبدیل چالشهای پیچیده به راهحلهای عملیاتی در مقیاس بزرگ.
4. آپام ملک
رهبر علم داده و تحلیل که بیش از هشت سال تجربه در صنعت فناوری داره. فوقلیسانس مهندسی شیمی از Cornell University و لیسانس بیوشیمی از Duke University گرفته. در نقش دانشمند داده، پروژههایی در زمینهی یادگیری ماشین، آزمایشگری و تحلیل رو در شرکتهای مختلف در آمریکا هدایت کرده و با ابزارهایی مثل SQL مسائل پیچیدهی مالی، انرژی و فناوری مصرفی رو حل کرده. در اوقات فراغت عاشق کتابخوانی، کوهنوردی در مسیرهای شمال شرق آمریکا و امتحان کردن انواع رامِن از کشورهای مختلفه 🍜
5. بنجامین جانستون
دانشمند ارشد داده در یکی از بزرگترین شرکتهای MedTech جهان، فعال در توسعهی راهکارهای دیجیتال نوآورانه از مرحلهی تعریف مسئله تا پیادهسازی نهایی. در حال تکمیل Ph.D خودش در یادگیری ماشین با تمرکز بر پردازش تصویر و شبکههای عصبی کانولوشنیه. بیش از ۱۰ سال سابقه در طراحی و توسعهی تجهیزات پزشکی داره و دارای مدرک کارشناسی ممتاز در مهندسی و علوم پزشکی از دانشگاه Sydney استرالیا هست.
Turn SQL into your competitive edge for uncovering patterns and accelerating data-driven business decisions
SQL remains one of the most powerful tools in modern data analytics, helping you turn data into decisions. This book shows you how to go beyond writing queries to deliver insights that matter.
SQL for Data Analytics, Fourth Edition, is for anyone who wants to move past basic SQL syntax and use it to interpret real-world data with confidence. Whether you're trying to make sense of production data for the first time or upgrading your analytics toolkit, this book gives you the skills to turn data into actionable outcomes.
You'll start by creating and managing structured databases before advancing to data retrieval, transformation, and summarization. From there, you’ll take on more complex tasks such as window functions, statistical operations, and analyzing geospatial, time-series, and text data.
With hands-on exercises, case studies, and detailed guidance throughout, this book prepares you to apply SQL in everyday business contexts—whether you're cleaning data, building dashboards, or presenting findings to stakeholders. By the end, you'll have a powerful SQL toolkit that translates directly to the work analysts do every day.
This book is for aspiring data engineers, backend developers, analysts, and students who want to use SQL for real-world data analytics. You should have basic SQL and college-level math knowledge, and along with the desire to advance your skills in data transformation, pattern recognition, and business insight delivery.
“SQL for Data Analytics is an excellent book for analysts, programmers, and anyone who wants to delve into SQL and learn how to navigate data in relational databases. The authors use exercises to build hands-on skills and activities to demonstrate how to solve business problems, reinforcing what the reader is learning. This book covers a broad spectrum of SQL topics and adds more value with its coverage of real-world data problems like handling JSON. I would recommend this book as a great way to learn SQL and broaden your data analytics skills.”
Steve Hughes, Microsoft Data Platform MVP, Founder of Data On Wheels, Author of Hands-On SQL Server 2019 Analysis Services and SQL Server Analysis Services Cube Development Cookbook
“SQL for Data Analytics, Fourth Edition is an excellent reference work that manages to balance the rigor of the SQL language with the practicality required by professional data analysis. It is highly recommended for students and beginners who wish to teach themselves how to use SQL for data analytics, as well as for professionals who want to consolidate their knowledge of advanced features and optimization. The combined expertise of the authors, including Jun Shan, who has over 20 years of professional experience in the data management field, guarantees the reliability and relevance of the content.”
Enrico Pirozzi, Cofounder at datainf and Author of Learn PostgreSQL
“SQL for Data Analytics, Fourth Edition is an exceptional blend of clarity, structure, and practical depth. It bridges the gap between classroom learning and real-world analytics through hands-on PostgreSQL exercises and modern data science integration. A must-read for anyone serious about building a strong foundation in data analytics.”
Vijay Kumar Reddy Voddi, Ph.D. (c) in Data Science, Director of Data Science Programs at Saint Peter’s University
“As somebody who has been working with Structured Query Language for over 30 years, and teaching it for almost 15, I find this book essential for any data science professional who aims to learn, to practice, and/or to optimize their knowledge of the language. [...] The structure of this book, coupling hands-on exercises with the explanation of the subject matter, is key to knowledge retention and ultimately to its application. The authors have done a tremendous job in structuring this text and focusing it directly on the needs of the data scientists of today as well as tomorrow.”
Michael Coakley, Chief Information Officer, Adjunct Professor of Computer Science and Information Technology at Columbia University
Jun Shan is a principal cloud solution advisor and data architect with 20+ years of professional experience. He has been working in the data management field since the beginning of his career and has delivered data solutions to various companies, such as Amazon and Bank of America. He also teaches about relational databases and SQL at several universities. Jun is the author of SQL for Data Analytics,Third Edition, and received his Master of Science in Computer Science from Virginia Tech.
Haibin Li obtained his Ph.D. in Atmospheric Science from Rutgers University. He is currently a lead predictive modeler with a decade of data science experience in the insurance industry. He has extensive working knowledge of data management and SQL. Hiabin is the technical reviewer of SQL for Data Analytics, Third Edition.
Matt Goldwasser is Vice President and Head of AI and Data Science for Global Distribution at T. Rowe Price. He leads strategic initiatives using machine learning (ML) and advanced analytics across the organization. With over 8 years at T. Rowe Price, he brings expertise in applied data science, MLOps, and AWS, with a strong focus on operationalizing AI at scale. Previously, Matt held multiple roles at OnDeck, leading marketing analytics and building predictive models and automated ML pipelines. He also worked in data engineering, risk analysis, and product management at Millennium Management, GE, and the Port Authority of NY and NJ. He is known for turning complex challenges into scalable solutions and bridging strategy with hands-on innovation.
Upom Malik is a data science and analytics leader who has worked in the technology industry for over eight years. He holds a master's degree in chemical engineering from Cornell University and a bachelor's degree in biochemistry from Duke University. As a data scientist, Upom has overseen efforts across machine learning, experimentation, and analytics at various companies throughout the United States. He uses SQL and other tools to solve complex challenges in finance, energy, and consumer technology. Outside of work, he enjoys reading, hiking the trails of the Northeastern United States, and savoring ramen bowls from around the world.
Benjamin Johnston is a senior data scientist for one of the world's leading data-driven MedTech companies and is involved in the development of innovative digital solutions throughout the entire product development pathway, from problem definition to solution research and development, through to final deployment. He is currently completing his Ph.D. in ML, specializing in image processing and deep convolutional neural networks. He has more than 10 years of experience in medical device design and development, working in a variety of technical roles, and holds a first-class honors bachelor's degree in both engineering and medical science from the University of Sydney, Australia.









