Learn MySQL Commands and Database Management with Jason Carter

inls 623 m y sql c ommands n.w
1 / 17
Embed
Share

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.

  • MySQL
  • Database Management
  • Jason Carter
  • Foreign Keys
  • SQL

Uploaded on | 0 Views


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


  1. INLS 623 MYSQL COMMANDS Instructor: Jason Carter

  2. DATABASES Show Databases;

  3. DATABASES Create Databases;

  4. DATABASES Drop Database db2_jasoncl PLEASE DO NOT DO THIS!!!!!

  5. DATABASE TABLES Creating a Table

  6. DATABASE TABLES Show Tables;

  7. DATABASE TABLES Describe user;

  8. DATABASE COLUMNS Add Column Alter TABLE user ADD email VARCHAR(50);

  9. DATABASE COLUMNS: ADD COLUMN Describe user

  10. DATABASE COLUMNS: REMOVE COLUMN Remove Column Alter TABLE user DROP email;

  11. DATABASE COLUMNS: REMOVE COLUMN Describe user NO EMAIL COLUMN

  12. FOREIGN KEYS Two ways to create foreign keys While creating the Table After creating Table

  13. FOREIGN KEYS WHILECREATING TABLE Foreign Key Constraint Has no Name

  14. FOREIGN KEYS WHILECREATING TABLE Naming the Foreign Key Constraint

  15. FOREIGN KEYS AFTERCREATING TABLE Foreign Key Constraint Has no Name

  16. FOREIGN KEYS WHILECREATING TABLE Naming the Foreign Key Constraint

  17. FOREIGN KEYS: REMOVING

More Related Content