Movatterモバイル変換


[0]ホーム

URL:


Packt
Search iconClose icon
Search icon CANCEL
Subscription
0
Cart icon
Your Cart(0 item)
Close icon
You have no products in your basket yet
Save more on your purchases!discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Profile icon
Account
Close icon

Change country

Modal Close icon
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timerSALE ENDS IN
0Days
:
00Hours
:
00Minutes
:
00Seconds
Home> Data> Database Programming> Learn SQL Database Programming
Learn SQL Database Programming
Learn SQL Database Programming

Learn SQL Database Programming: Query and manipulate databases from popular relational database servers using SQL

Arrow left icon
Profile Icon Josephine Bush
Arrow right icon
€8.98€26.99
Full star iconFull star iconFull star iconFull star iconHalf star icon4.2(6 Ratings)
eBookMay 2020564 pages1st Edition
eBook
€8.98 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€8.98 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature iconInstant access to your Digital eBook purchase
Product feature icon Download this book inEPUB andPDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature iconDRM FREE - Read whenever, wherever and however you want
Product feature iconAI Assistant (beta) to help accelerate your learning

Contact Details

Modal Close icon
Payment Processing...
tickCompleted

Billing Address

Table of content iconView table of contentsPreview book icon Preview Book

Learn SQL Database Programming

Understanding SQL

Structured Query Language, orSQL (pronouncedsee-quel), is the language that is used for querying and manipulating data and defining structures in databases. Initially developed at IBM in the early 1970s, SQL became an ANSI and ISO standard in 1986.

SQL is a powerful, yet simple language, and can do many things, such as execute queries, retrieve, insert, update, and delete data, create databases and tables, and much more.

These types of activities can be grouped into different subdivisions of SQL:Data Definition Language (DDL),Data Manipulation Language (DML), andData Control Language (DCL):

  • Use DDL commands to specify database schema:
  • CREATE: This is used to create a new database or objects in a database.
  • ALTER: This is used to alter a database or objects in a database.
  • DROP: This is used to delete a database or objects in a database.
  • TRUNCATE: This is...

Summary

This chapter introduced the concepts required to understand the basics of relational database management systems. It introduced you to foundational topics such as understanding SQL, what SQL can do, and its basic components. You learned that there are three subdivisions of SQL called DML, DDL, and DCL, and that the SQL language is comprised of several elements that make up a statement. We walked through a description of the relational model, what a database is, and what is in a database, including what a table, row, column, and field are.

We followed with an explanation of data integrity, including the different types of data integrity, such as entity, referential, and domain integrity, and looked at how to use keys and constraints. This understanding of data integrity helped you understand database normalization, including the different forms of normalization, 1NF, 2NF...

Download code iconDownload Code

Key benefits

  • Explore all SQL statements in depth using a variety of examples
  • Get to grips with database querying, data aggregate, manipulation, and much more
  • Understand how to explore and process data of varying complexity to tell a story

Description

SQL is a powerful querying language that's used to store, manipulate, and retrieve data, and it is one of the most popular languages used by developers to query and analyze data efficiently.If you're looking for a comprehensive introduction to SQL, Learn SQL Database Programming will help you to get up to speed with using SQL to streamline your work in no time. Starting with an overview of relational database management systems, this book will show you how to set up and use MySQL Workbench and design a database using practical examples. You'll also discover how to query and manipulate data with SQL programming using MySQL Workbench. As you advance, you’ll create a database, query single and multiple tables, and modify data using SQL querying. This SQL book covers advanced SQL techniques, including aggregate functions, flow control statements, error handling, and subqueries, and helps you process your data to present your findings. Finally, you’ll implement best practices for writing SQL and designing indexes and tables.By the end of this SQL programming book, you’ll have gained the confidence to use SQL queries to retrieve and manipulate data.

Who is this book for?

This book is for business analysts, SQL developers, database administrators, and students learning SQL. If you want to learn how to query and manipulate SQL data for database administration tasks or simply extract and organize relevant data for analysis, you’ll find this book useful. No prior SQL experience is required.

What you will learn

  • Install, configure, and use MySQL Workbench to restore a database
  • Explore different data types such as string, numeric, and date and time
  • Query a single table using the basic SQL SELECT statement and the FROM, WHERE, and ORDER BY clauses
  • Query multiple tables by understanding various types of table relationships
  • Modify data in tables using the INSERT, UPDATE, and DELETE statements
  • Use aggregate functions to group and summarize data
  • Detect bad data, duplicates, and irrelevant values while processing data

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date :May 29, 2020
Length:564 pages
Edition :1st
Language :English
ISBN-13 :9781838981709
Category :
Languages :

What do you get with eBook?

Product feature iconInstant access to your Digital eBook purchase
Product feature icon Download this book inEPUB andPDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature iconDRM FREE - Read whenever, wherever and however you want
Product feature iconAI Assistant (beta) to help accelerate your learning

Contact Details

Modal Close icon
Payment Processing...
tickCompleted

Billing Address

Product Details

Publication date :May 29, 2020
Length:564 pages
Edition :1st
Language :English
ISBN-13 :9781838981709
Category :
Languages :
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99billed monthly
Feature tick iconUnlimited access to Packt's library of 7,000+ practical books and videos
Feature tick iconConstantly refreshed with 50+ new titles a month
Feature tick iconExclusive Early access to books as they're written
Feature tick iconSolve problems while you work with advanced search and reference features
Feature tick iconOffline reading on the mobile app
Feature tick iconSimple pricing, no contract
€189.99billed annually
Feature tick iconUnlimited access to Packt's library of 7,000+ practical books and videos
Feature tick iconConstantly refreshed with 50+ new titles a month
Feature tick iconExclusive Early access to books as they're written
Feature tick iconSolve problems while you work with advanced search and reference features
Feature tick iconOffline reading on the mobile app
Feature tick iconChoose a DRM-free eBook or Video every month to keep
Feature tick iconPLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick iconExclusive print discounts
€264.99billed in 18 months
Feature tick iconUnlimited access to Packt's library of 7,000+ practical books and videos
Feature tick iconConstantly refreshed with 50+ new titles a month
Feature tick iconExclusive Early access to books as they're written
Feature tick iconSolve problems while you work with advanced search and reference features
Feature tick iconOffline reading on the mobile app
Feature tick iconChoose a DRM-free eBook or Video every month to keep
Feature tick iconPLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick iconExclusive print discounts

Frequently bought together


SQL for Data Analytics
SQL for Data Analytics
Read more
Aug 2019386 pages
Full star icon3.5 (35)
eBook
eBook
€8.98€47.99
€59.99
Learn SQL Database Programming
Learn SQL Database Programming
Read more
May 2020564 pages
Full star icon4.2 (6)
eBook
eBook
€8.98€26.99
€32.99
The SQL Workshop
The SQL Workshop
Read more
Dec 2019288 pages
Full star icon4.8 (14)
eBook
eBook
€8.98€19.99
€24.99
Stars icon
Total117.97
SQL for Data Analytics
€59.99
Learn SQL Database Programming
€32.99
The SQL Workshop
€24.99
Total117.97Stars icon
Buy 2+ to unlock€6.99 prices - master what's next.
SHOP NOW

Table of Contents

23 Chapters
Section 1: Database FundamentalsChevron down iconChevron up icon
Section 1: Database Fundamentals
Introduction to Relational Database Management SystemsChevron down iconChevron up icon
Introduction to Relational Database Management Systems
Understanding SQL
Understanding databases
Understanding data integrity
Database normalization
Types of RDMS
Summary
Questions
Installing and Using MySQL WorkbenchChevron down iconChevron up icon
Installing and Using MySQL Workbench
Technical requirements
Installing MySQL Workbench
Using MySQL Workbench
Restoring a database
Summary
Questions
Understanding Data TypesChevron down iconChevron up icon
Understanding Data Types
Understanding string data types
Understanding numeric data types
Understanding date and time data types
Understanding other data types
Choosing the right data type
Summary
Questions
Designing and Creating a DatabaseChevron down iconChevron up icon
Designing and Creating a Database
Technical requirements
Creating a database
Understanding table relationships
Creating a table in the database
Understanding indexes
Summary
Further reading
Questions
Importing and Exporting DataChevron down iconChevron up icon
Importing and Exporting Data
Technical requirements
Understanding table data import and export
Understanding SQL data import and export
Understanding result data export
Understanding SQL syntax for importing and exporting data
Summary
Further reading
Questions
Section 2: Basic SQL QueryingChevron down iconChevron up icon
Section 2: Basic SQL Querying
Querying a Single TableChevron down iconChevron up icon
Querying a Single Table
Technical requirements
Using the SELECT statement and FROM clause
Using the WHERE clause
Using the ORDER BY clause
Using indexes with your queries
Summary
Questions
Further reading
Querying Multiple TablesChevron down iconChevron up icon
Querying Multiple Tables
Technical requirements
Understanding joins
Using INNER JOIN
Using OUTER JOIN
Using advanced joins
Understanding set theory
Using indexes with your queries
Summary
Questions
Further reading
Modifying Data and Table StructuresChevron down iconChevron up icon
Modifying Data and Table Structures
Technical requirements
Inserting data into tables
Deleting data from tables
Updating data in tables
Using transactions to save or revert changes
Modifying the table structure
Summary
Questions
Further reading
Section 3: Advanced SQL QueryingChevron down iconChevron up icon
Section 3: Advanced SQL Querying
Working with ExpressionsChevron down iconChevron up icon
Working with Expressions
Technical requirements
Using expressions
Using statistical functions
Using generated columns
Summary
Questions
Further reading
Grouping and Summarizing DataChevron down iconChevron up icon
Grouping and Summarizing Data
Technical requirements
Understanding aggregate functions
Using the GROUP BY clause
Using the HAVING clause
Understanding SQL query order of execution
Summary
Questions
Advanced Querying TechniquesChevron down iconChevron up icon
Advanced Querying Techniques
Technical requirements
Using subqueries
Using common table expressions
Using query hints and transaction isolation levels
Summary
Questions
Further reading
Programmable ObjectsChevron down iconChevron up icon
Programmable Objects
Technical requirements
Creating and using views
Creating and using variables
Creating and using stored procedures
Creating and using functions
Creating and using triggers
Creating and using temporary tables
Summary
Questions
Further reading
Section 4: Presenting Your FindingsChevron down iconChevron up icon
Section 4: Presenting Your Findings
Exploring and Processing Your DataChevron down iconChevron up icon
Exploring and Processing Your Data
Technical requirements
Exploring your dataset
Processing your dataset
Summary
Questions
Telling a Story with Your DataChevron down iconChevron up icon
Telling a Story with Your Data
Technical requirements
Finding a narrative
Knowing your audience
Determining a presentation framework
Using visualizations
Summary
Questions
Section 5: SQL Best PracticesChevron down iconChevron up icon
Section 5: SQL Best Practices
Best Practices for Designing and QueryingChevron down iconChevron up icon
Best Practices for Designing and Querying
Technical requirements
Best practices for database design
Best practices for indexing
Best practices for querying and modifying data
Summary
Questions
SQL AppendixChevron down iconChevron up icon
SQL Appendix
SQL for designing databases
SQL for selecting data
SQL for modifying data
SQL expressions
Advanced query techniques
Programmable objects
Summary
AssessmentsChevron down iconChevron up icon
Assessments
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Other Books You May EnjoyChevron down iconChevron up icon
Other Books You May Enjoy
Leave a review - let other readers know what you think

Recommendations for you

Left arrow icon
LLM Engineer's Handbook
LLM Engineer's Handbook
Read more
Oct 2024522 pages
Full star icon4.9 (27)
eBook
eBook
€8.98€43.99
€54.99
Getting Started with Tableau 2018.x
Getting Started with Tableau 2018.x
Read more
Sep 2018396 pages
Full star icon4 (3)
eBook
eBook
€8.98€32.99
€41.99
Python for Algorithmic Trading Cookbook
Python for Algorithmic Trading Cookbook
Read more
Aug 2024406 pages
Full star icon4.3 (20)
eBook
eBook
€8.98€35.99
€44.99
RAG-Driven Generative AI
RAG-Driven Generative AI
Read more
Sep 2024338 pages
Full star icon4.3 (16)
eBook
eBook
€8.98€32.99
€40.99
Machine Learning with PyTorch and Scikit-Learn
Machine Learning with PyTorch and Scikit-Learn
Read more
Feb 2022774 pages
Full star icon4.4 (87)
eBook
eBook
€8.98€32.99
€41.99
€59.99
Building LLM Powered Applications
Building LLM Powered Applications
Read more
May 2024342 pages
Full star icon4.2 (21)
eBook
eBook
€8.98€29.99
€37.99
Python Machine Learning By Example
Python Machine Learning By Example
Read more
Jul 2024526 pages
Full star icon4.3 (25)
eBook
eBook
€8.98€27.99
€34.99
AI Product Manager's Handbook
AI Product Manager's Handbook
Read more
Nov 2024488 pages
eBook
eBook
€8.98€27.99
€34.99
Right arrow icon

Customer reviews

Top Reviews
Rating distribution
Full star iconFull star iconFull star iconFull star iconHalf star icon4.2
(6 Ratings)
5 star66.7%
4 star0%
3 star16.7%
2 star16.7%
1 star0%
Filter icon Filter
Top Reviews

Filter reviews by




AlanSep 13, 2023
Full star iconFull star iconFull star iconFull star iconFull star icon5
I studied relational database systems and SQL many years ago at post graduate level and needed to brush up on the subject. This book was exactly what I was looking for. The author is straight to the point and gives good examples. I enjoyed the book.
Subscriber reviewPackt
Matthew McDowellNov 23, 2020
Full star iconFull star iconFull star iconFull star iconFull star icon5
Perfect beginner reference, the author has done a fantastic job! Easy to understand and a practical guide that can show you beginning steps to query a database as well as more advanced means off accessing and manipulating data. The book even goes into more advanced techniques for someone interested in database administration. This book goes over best practices in a clear manner with plenty of examples. As someone who works with relational databases on a daily basis, this book has helped me understand the fundamentals of what I knew how to do and has helped elevate the way I write queries. There is plenty left for me to learn and this book will continue to remain an invaluable tool!
Amazon Verified reviewAmazon
Bladwell Martinez CostasJun 06, 2022
Full star iconFull star iconFull star iconFull star iconFull star icon5
Me agrado mucho este articulo.
Amazon Verified reviewAmazon
VanessaFeb 13, 2021
Full star iconFull star iconFull star iconFull star iconFull star icon5
This book is very well-written and shows step by step how to manipulate data in SQL. It is written in an easy to read fashion, that helps the reader have an understanding of each query. There are many examples throughout to help show the process for a clear understanding of the fundamentals. There are also more advanced techniques shown, so the book isn't just for beginners either.
Amazon Verified reviewAmazon
Just Some GuyJan 15, 2022
Full star iconFull star iconFull star iconEmpty star iconEmpty star icon3
This isn't a bad book - it's actually pretty good. It's just not what the title claims. This book is good a good buy for 1 of these 2 use cases:1) You're brand new to using a real database (Excel and Access don't count), and you want a high-level introduction to using MySQL and writing SQL queries, etc.2) You're quite good with SQL and databases already, and you just want a reference on your desk you can flip open to check the syntax on part of your query, or similar reference-type needs.Besides that, I think this book is a miss. It's covers a lot of ground, but it moves really fast, and barely anything goes into much depth. As a result, if you're new to SQL then you won't actually *learn* much here (there are too few examples, and they never go into much depth) – but if you're a pro this is all pretty obvious, so you won't learn anything new.My main other complaint about this book is that for a book with "Programming" in the title, it barely meets that standard at all. Besides a quick pass on functions and stored procedures (which do involve programming via SQL), almost everything this book does is via the MySQL Workbench tool. Now, that's great if learning Workbench is your goal - but if you want to manage your database via APIs, or do anything programmatic whatsoever (via a language like Python, Java, etc.), this book has ZERO on ANY of that. The work "Programming" has no place in the title of this book.Two other minor complaints:1) There are some sloppy typos and technical errors that should have been caught by the editors - and that happened a couple times too many for me to ignore.2) The book really feels like the author was trying to pad the page count. There are a TON of screenshots (again, mostly of MySQL Workbench). While I usually like those, for reference, they were larger and more frequent than necessary. There are also pages of content that get very repetitive - like, the author would often repeat the same exact paragraph multiple times when explaining a list of things that were mostly the same, but had only slight differences. (for example, a full paragraph explaining an example with a logical TRUE/IN/= use case, and then the exact same paragraph repeated again but with just a couple words changed to explain the respective FALSE/NOT IN/!= use case). Pages of text could have been saved by using a more compact writing approach.All that said, this is a pretty good book for the 2 needs I mentioned at the top of this review. If that's you, buy it and make the most of it. But anyone wanting to really learn how to "program SQL" will need to read a few other books, too. Now you know.
Amazon Verified reviewAmazon
  • Arrow left icon Previous
  • 1
  • 2
  • Arrow right icon Next

People who bought this also bought

Left arrow icon
Causal Inference and Discovery in Python
Causal Inference and Discovery in Python
Read more
May 2023466 pages
Full star icon4.5 (47)
eBook
eBook
€8.98€32.99
€40.99
Generative AI with LangChain
Generative AI with LangChain
Read more
Dec 2023376 pages
Full star icon4.1 (33)
eBook
eBook
€8.98€47.99
€59.99
Modern Generative AI with ChatGPT and OpenAI Models
Modern Generative AI with ChatGPT and OpenAI Models
Read more
May 2023286 pages
Full star icon4.1 (30)
eBook
eBook
€8.98€29.99
€37.99
Deep Learning with TensorFlow and Keras – 3rd edition
Deep Learning with TensorFlow and Keras – 3rd edition
Read more
Oct 2022698 pages
Full star icon4.5 (44)
eBook
eBook
€8.98€29.99
€37.99
Machine Learning Engineering  with Python
Machine Learning Engineering with Python
Read more
Aug 2023462 pages
Full star icon4.6 (37)
eBook
eBook
€8.98€29.99
€37.99
Right arrow icon

About the author

Profile icon Josephine Bush
Josephine Bush
Josephine Bush has over 10 years experience as a Database Administrator. Her experience is extensive and broad-based, including in financial, business, and energy data systems using MySQL, SQL Server, Oracle, and PostgreSQL. She is a Microsoft Certified Solutions Expert: Data Management and Analytics. She holds a BS in Information Technology, an MBA in IT Management, and an MS in Data Analytics.
Read more
See other products by Josephine Bush
Getfree access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook?Chevron down iconChevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?Chevron down iconChevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?Chevron down iconChevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support?Chevron down iconChevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks?Chevron down iconChevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook?Chevron down iconChevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.

Create a Free Account To Continue Reading

Modal Close icon
OR
    First name is required.
    Last name is required.

The Password should contain at least :

  • 8 characters
  • 1 uppercase
  • 1 number
Notify me about special offers, personalized product recommendations, and learning tips By signing up for the free trial you will receive emails related to this service, you can unsubscribe at any time
By clicking ‘Create Account’, you are agreeing to ourPrivacy Policy andTerms & Conditions
Already have an account? SIGN IN

Sign in to activate your 7-day free access

Modal Close icon
OR
By redeeming the free trial you will receive emails related to this service, you can unsubscribe at any time.

[8]ページ先頭

©2009-2025 Movatter.jp