Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying MariaDb Essentials
  • Table Of Contents Toc
MariaDb Essentials

MariaDb Essentials

By : Kenler
4.5 (2)
close
close
MariaDb Essentials

MariaDb Essentials

4.5 (2)
By: Kenler

Overview of this book

This book will take you through all the nitty-gritty parts of MariaDB, right from the creation of your database all the way to using MariaDB’s advanced features. At the very beginning, we show you the basics, that is, how to install MariaDB. Then, we walk you through the databases and tables of MariaDB, and introduce SQL in MariaDB. You will learn about all the features that have been added in MariaDB but are absent in MySQL. Moving on, you’ll learn to import and export data, views, virtual columns, and dynamic columns in MariaDB. Then, you’ll get to grips with full-text searches and queries in MariaDb. You’ll also be familiarized with the CONNECT storage engine. At the end of the book, you’ll be introduced to the community of MariaDB.
Table of Contents (10 chapters)
close
close
9
Index

Views

A view can be thought of as a virtual table. It is a query that has been saved in a database with a name. The rows returned by the saved query can be seen as table contents, and the set of columns that form the result set can be seen as the table structure. Most SQL statements can refer to a view as if it were a table, and the user who writes those queries may not even know that he/she is using a view.

In MariaDB, sometimes the tables are called base tables to highlight the fact that they are not views.

There can be several reasons for using a view. For example, views can:

  • Avoid duplication of the same SQL code in several queries
  • Minimize the impact of changes in the underlying tables on the SQL code
  • Hide the complexity of the underlying tables
  • Hide information from the underlying tables

We will explore these concepts later. First, let's see how views can be managed using SQL statements.

Views can be managed using the following statements:

  • CREATE VIEW
  • ALTER VIEW
  • RENAME VIEW
  • DROP VIEW

Tip...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
MariaDb Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon