SQL in 7 Days: A Quick Crash Course in Manipulating Data, Databases Operations, Writing Analytical Queries, and Server-Side Programming
- Length: 300 pages
- Edition: 1
- Language: English
- Publisher: BPB Publications
- Publication Date: 2022-11-21
- ISBN-10: 9355512031
- ISBN-13: 9789355512031
- Sales Rank: #0 (See Top 100 Books)
Capsulated knowledge on SQL for Data Professionals
Key Features
- A fantastic crash course on learning SQL for database programming and querying.
- Numerous examples and use cases on every aspect of SQL and developer jobs.
- Complex queries, performance tweaking, and database design patterns are all included.
Description
This book provides lucid explanations of the features of SQL, beginning with the most fundamental and progressing to the most advanced. You’ll be able to learn how to perform everyday SQL operations like adding new entries, modifying or deleting old ones, and performing simple and sophisticated SQL queries with the assistance of this book, which makes learning SQL a more efficient and practical process. This book will teach you some of the more complex features of database management, including joining algorithms, materialized views, optimizers, and indexing, and it will do so by providing you with proven illustrations. Finally, the book demonstrates how to get started with cloud-based database design by providing step-by-step instructions.
With case studies drawn from the author’s own experience, the book teaches you everything you need to know about SQL. This book walks you through the inner workings of a database system and teaches you how to utilize SQL to get the most out of your database. As the book progresses, you’ll get a deeper understanding of database engineering principles that will speed up data mining and analysis.
What you will learn
- Perform operations such as projections, joins, filters, aggregations, and CTE.
- Optimize database performance, including indexing, query planning, and materialization.
- Examine client-side and server-side programming for SQL databases.
- Become proficient with OLTP and data warehouse databases.
- Cutting-edge knowledge of cloud database design techniques.
Who this book is for
This book is for every data professional, including database developers, project managers, database administrators, software engineers, web developers, and full-stack developers, who wish to learn and apply SQL in their development operations quickly. This book may be read by anyone, regardless of whether or not they are familiar with SQL.
Cover Page Title Page Copyright Page Dedication Page About the Author About the Reviewer Acknowledgement Book Organization Errata Table of Contents 1. Basic Concepts Introduction Structure Objectives Getting started Before the Relational Model The relational model No data except the data Tables, queries, and resultsets Defining a table Data types Reading data Writing data Metadata Record order SQL as a declarative language Beyond the relational Data as a service Atomicity, Consistency, Isolation, Durability (ACID) Little things NoSQL Conclusion Key points 2. Putting Data in Introduction Structure Objectives Anatomy of INSERT Type conversions Default values Primary key, GUID and auto-increment Copying data between tables Conclusion Key points 3. Basic Queries Introduction Structure Objectives Anatomy of SELECT Projection and field aliasing Filters General equality and ordering Boolean predicates SQL-specific predicates String predicates String comparison Expressions Arithmetic operators Bitwise operators String operators Functions SELECT without FROM Transient tables NULL and tri-state logic Joins ANSI join syntax Outer Joins The USING clause Semi-joins IN Predicate EXISTS predicate Anti-joins LEFT JOIN / IS NULL NOT IN and tri-state logic NOT EXISTS Conclusion Key points 4. Advanced Queries Introduction Structure Objectives Aggregation Aggregate functions Grouping Having Aggregation of empty resultsets Grouping and empty sets Ordering Limits Set arithmetic DISTINCT UNION EXCEPT INTERSECT Queries within queries Correlated subqueries Nested queries Expression reuse Easier aggregations Common Table Expressions Window functions Recursive queries Exotic functions Array functions JSON data Special types Conclusion Key points 5. Data Organization Introduction Structure Objectives Entity-relationship model Constraints Primary key Unique Foreign Key Check Relationships One-to-one One-to-many Many-to-many Normalization First normal form Second normal form Higher-order normal forms Conclusion Key points 6. Performance Introduction Structure Objectives Keeping data in order Indexes B-Tree Indexing strategies Optimization and Query Plans Statistics and histograms Sargability Join algorithms Nested loops Merge join Hash join Conclusion Key points 7. Server-Side Programming Introduction Structure Objectives Sessions Transactions Atomicity Write concurrency Deadlocks Read concurrency Read uncommitted Read committed Repeatable reads Serializable Cursors Stored procedures Triggers and materialized views Materialized views Triggers Conclusion Key points 8. Client-Side Programming Introduction Structure Objectives Database clients Parameterized Queries Prepared statements Plan caching Object-relational mappers (ORM) Code-First Approach and Migrations Conclusion Key points 9. Design and Management Introduction Structure Objectives Use patterns On-line Transaction Processing (OLTP) Data Warehouse Replication and ETL Log Shipping Replication Extract, Transform, Load (ETL) In the Cloud Clustering Read-only data High availability clustering Database splitting Sharding Conclusion Key points Afterword Index
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.