Join Sheeri Cabral for an in-depth discussion in this video Separating lists of objects in a multivalued field, part of MariaDB for MySQL Users.
…Sometimes you come across a table that has more than one piece of…information in one field.…A column with multiple values is called a multi-valued column.…Let's look at the example file called children.txt.…Since we're already inside of MariaDB,…let's use backslash exclamation point to run a command on the shell.…And let's do more /var/tmp/children.txt to look at this file in the examples.…This is a semicolon-delimited file with two fields, parent and children.…
Children is a multi valued field, where the values are separated by commas.…First let's make it so…we can access the data in this file by creating a CONNECT table.…So let's CREATE TABLE children.…And there are going to be two fields.…Just like our file called parent, which will be a VARCHAR 32 NOT NULL.…And children for the list of children,…which we'll put as a VARCHAR 100 NOT NULL and a DEFAULT of blank.…The ENGINE is going to be CONNECT and the TABLE_TYPE is a CSV.…
The underlying FILE_NAME is /var/tmp/children.txt.…And we have a HEADER line.…So we say HEADER equals 1.…
- Why use dynamic columns?
- Creating, updating, and querying dynamic columns
- Installing the CONNECT storage engine
- Connecting to remote data
- Connecting to CSV, INI, and XML files
- Using PIVOT tables
- Accessing database metadata
- Working with the Cassandra storage engine
Skill Level Intermediate
Ruby on Rails 4 Essential Trainingwith Kevin Skoglund12h 41m Beginner
1. Dynamic Columns
2. The Power of CONNECT
3. Advanced CONNECT Storage Engine
4. The Cassandra Storage Engine
Next steps1m 46s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.