
Learn how primary and foreign keys link tables in a relational database, including composite keys and unique identifiers like customer ID.
Demonstrate normal forms by refactoring a customer orders table into first, second, and third normal form, using a composite key and separating city and order data.
Explore data modeling with entity relationship diagrams, including entities, attributes, relationships, and cardinality, and learn how an er diagram translates into a relational schema and database.
Connect to the MySQL server with MySQL Workbench, explore the main interface, and learn to create schemas and SQL tabs, plus basic database concepts.
Learn to delete a MySQL database using both the graphical interface and SQL commands, including drop schema and drop database, executing scripts, and saving the query for later use.
Create a database in Microsoft SQL Server using SQL script or the graphical interface, execute the command, refresh the database list, and explore objects like tables and views.
Create a table in Microsoft SQL Server by selecting the target database, defining department_id as identity (seed 100, increment 2) primary key, and department_name as not null varchar(255).
Drop tables in Microsoft SQL Server using SQL script or the graphical interface. Resolve foreign key constraints, such as department referenced by employee, by removing the link before deleting.
Create a DSG database in MySQL and Microsoft SQL Server, and build independent tables department, location, institute, and project with primary keys, auto increment starts, and basic table creation.
Create the DSG database in Microsoft SQL Server, build tables such as department, location, institute, and project, then add dependent tables with foreign keys using Management Studio and identity-based keys.
Learn to modify a table by dropping employee_name and adding first_name, last_name, and job_title as not null columns in MySQL and Microsoft SQL Server.
Drop the employee name column from employee_a and add first name, last name, and job title as not null varchar columns. Use designer to reorder after employee ID and save.
Learn to insert data into MySQL tables like department, location, institute, and project, using auto increment keys, column lists, and multi-row inserts, then verify results with selects.
Learn how to delete data from a MySQL table using delete from department where department name equals marketing, selecting the database and disabling safe update mode in the SQL editor.
Learn to use the where condition in select queries to filter results, applying greater-than and equals criteria on budgets and project numbers.
Master and or operators to refine SQL queries, narrowing results by conditions like job title or birth date greater than a threshold, with practical MySQL and SQL Server examples.
Learn how to use top and limit operators to fetch the top records by budget in SQL Server and MySQL, ordering by budget descending.
Learn how the distinct operator retrieves non-duplicated values from a specific column in SQL, as shown with select distinct budget from project.
Compute the number of employees per department where date of birth is greater than 1981, using SQL code that mirrors the MySQL approach and validates results on SQL Server.
As most of the business data stored in relational databases, learning SQL is essential for anyone wants to be a SQL developer, database administrator, data analyst or data scientist. Since SQL is the main tool used to create and manipulate relational databases and their stored data, mastering SQL is necessary to maintain them. You will learn in the beginning of this course, data modeling including how to create conceptual, logical, and physical ERD's (Entity Relationship Diagram). After that you will learn how to install MySQL and Microsoft SQL Server and be acquainted in their work environments. You will learn SQL from scratch in both two database management systems. You will learn DDL, DML, and DTL SQL. This course starts with the basics of SQL like creating and managing a database. You will learn how to create and modify tables, views and other database objects. You will learn how to insert, update and delete data in tables. Also, you will learn retrieving data from tables using SELECT statement in both MySQL and Microsoft SQL Server. You will learn using the most important functions in SELECT quires, such as: aggregate, conversion, and date functions. Furthermore, you will learn different types of SQL joins to retrieve data from multiple tables.