Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SQL Server on Linux

You're reading from  SQL Server on Linux

Product type Book
Published in Aug 2017
Publisher Packt
ISBN-13 9781788291804
Pages 222 pages
Edition 1st Edition
Languages
Toc

Table of Contents (19) Chapters close

Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Linux Distributions 2. Installation and Configuration 3. SQL Server Basics 4. Database in the Sandbox 5. Sample Databases 6. A Crash Course in Querying 7. Backup and Recovery Operations 8. User Management 9. Implementing Data Protection 10. Indexing 11. In-Memory OLTP 12. Beyond SQL Server

Relational database concepts


Relational databases consist of many objects, and the most common of these is a table. A table is a logical structure (relation) for storing and retrieving rows of data. It is defined by its columns which are represented by the data types.

Every table should have a primary key as a unique representation of a single row. It is usually a single column that either hosts a sequential number or a unique identifier that would never be used more than once. Tables can also contain two or more columns that together represent the unique row of the table. A table can also host foreign keys which describe its table reference, or relation to another table. For example, a Students table has a unique StudentID column, and the same StudentID is then represented in a Grades table to tie the actual grade to the student. This allows for one student to have none, one, or many grades, and requires that student record to exist before the grades can be entered.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime