
Learn MySQL Commands and Database Management with Jason Carter
Explore a detailed guide on MySQL commands, creating, dropping, and managing databases, tables, and columns. Understand the importance of foreign keys and constraints in database design with practical examples provided by expert instructor Jason Carter.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
INLS 623 MYSQL COMMANDS Instructor: Jason Carter
DATABASES Show Databases;
DATABASES Create Databases;
DATABASES Drop Database db2_jasoncl PLEASE DO NOT DO THIS!!!!!
DATABASE TABLES Creating a Table
DATABASE TABLES Show Tables;
DATABASE TABLES Describe user;
DATABASE COLUMNS Add Column Alter TABLE user ADD email VARCHAR(50);
DATABASE COLUMNS: ADD COLUMN Describe user
DATABASE COLUMNS: REMOVE COLUMN Remove Column Alter TABLE user DROP email;
DATABASE COLUMNS: REMOVE COLUMN Describe user NO EMAIL COLUMN
FOREIGN KEYS Two ways to create foreign keys While creating the Table After creating Table
FOREIGN KEYS WHILECREATING TABLE Foreign Key Constraint Has no Name
FOREIGN KEYS WHILECREATING TABLE Naming the Foreign Key Constraint
FOREIGN KEYS AFTERCREATING TABLE Foreign Key Constraint Has no Name
FOREIGN KEYS WHILECREATING TABLE Naming the Foreign Key Constraint