Join Bill Weinman for an in-depth discussion in this video Creating an ID column, part of MySQL Essential Training.
…An ID column, is a column that's used as a unique identifier for each row in a table.…It's commonly used in relational databases for connecting one table to another.…For this lesson, we're going to use the scratch database,…and again I'm going to copy from the exercise files.…This is the, chapter 3 exercise file starting around line 100.…Starting with this drop table if exists, because again,…we're going to be creating this table over and…over again with different options all the way down…here through show indexes from tests on line 113.…
So, I'm going to to copy that and paste that to our.…SQL box here.…And you'll notice I'm creating a table…with three columns, INTEGER and two VARCHARs.…And I'm inserting some rows into it and then selecting from it.…I'm going to describe it, show the table status, the create table.…And show the indexes.…And so when I press go, there's our table, with the three rows that I inserted.…They have values of one, two, and three for the ID.…
And there's our describe, so that's the describe right there.…
- Writing queries
- Creating and updating databases and tables
- Using MySQL built-in functions
- Sorting and filtering data
- Updating tables with triggers
- Working with subselects and views
- Creating and using a stored function
Skill Level Beginner
PHP with MySQL Essential Trainingwith Kevin Skoglund14h 32m Beginner
1. Installing and Configuring the Test Environment
2. Basic Syntax
3. Creating a Database
4. MySQL Data Types
5. MySQL Functions
8. Subselects and Views
9. Stored Routines
10. PHP's PDO Interface with MySQL
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
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.