Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
SQL SERVER ADMINISTRATION PART 4: PROJECTS
Rating: 4.9 out of 5(5 ratings)
116 students

SQL SERVER ADMINISTRATION PART 4: PROJECTS

SQL SERVER PROJECTS
Created byRaphael Asghar
Last updated 1/2025
English
English [Auto],

What you'll learn

  • Students will learn how to design and develop SQL projects from the ground up, gaining hands-on experience in creating database schemas
  • The course will focus on scripting SQL projects, teaching students how to automate processes and enhance functionality through T-SQL.
  • Students will explore the objectives behind various SQL projects, understanding how data manipulation and analysis contribute to business decision-making
  • Through structured exercises and projects, students will deepen their understanding of T-SQL, enhancing their ability to write robust queries

Course content

1 section43 lectures5h 53m total length
  • AN INTRO TO THE COURSE6:49

    Explore real-world SQL projects in this introduction to SQL administration part four: projects, practice building databases for library management, online store, hospital, and more, with hands-on T-SQL and collaborative work.

  • INSTALLING SQL SERVER8:50

    Install SQL Server 2022 developer edition, SQL Server Management Studio, Visual Studio, SSRS and SSIS tools, and adapt Adventureworks for 2019; learn default vs named instances and basic firewall considerations.

  • INSTALL ADVENTUREWORKS3:05

    Download the Adventureworks 2022 backup, create a works folder on drive C, and restore database in SQL Server to prep for reporting with Visual Studio and SSMS, SSRS, and SSIS.

  • INSTALLING VISUAL STUDIO6:06

    Install Visual Studio Community edition and enable data storage and processing, then add SSRS and SSIS extensions to create SSRS reports and SSIS packages, reboot when prompted.

  • VERIFY SSRS AND SSIS EXTENSION2:41

    Verify ssrs and ssis access by opening visual studio, creating a new ssrs reporting project, connecting to adventureworks 2022, testing the connection, and previewing a sample query.

  • LEARNING OBJECTIVES3:52

    Design efficient databases with normalization and primary/foreign key relationships, and write queries to manipulate and analyze data through live coding demos.

  • LIBRARY SCRIPT'S PART 113:37

    Design and implement a library management database with authors, publishers, books, users, and loans, using primary and foreign keys, normalization, and T-SQL table creation and joins.

  • LIBRARY SCRIPT'S PART 222:24

    Create and relate library tables for books, authors, publishers, users, and loans, emphasizing primary and foreign keys. Learn to insert data and run joins to reveal who loaned which book.

  • ONLINE SCRIPTS PART 114:01

    Build an online database by creating products, customers, orders, and order details tables with primary and foreign keys, then query for most popular products, top customers, and total sales.

  • ONLINE SCRIPTS PART 212:40

    Learn cleaner sql insert syntax using insert into products values, avoiding repeated column names. Explore joins across products and orders to compute total sales with group by and having.

  • MOVIES SCRIPTS9:29

    Build and analyze a movie database schema in SQL Server, create tables (movies, actors, movie_actors, reviews), and visualize relationships with a database diagram, mastering inner, left, and full outer joins.

  • QUIZ 13:22

    Test your knowledge in the first quiz of sql server administration part four, covering creating databases and tables, inserting data, and joins to identify negative balances.

  • QUIZ 1 ANSWER9:11

    Use the master database to create a database and build tables with primary and foreign keys, then perform inner joins to identify negative balances.

  • MULTIPLE DATABASES14:23

    Learn to query across multiple databases on the same server using fully qualified names, join school.students with finance.grants, and find the greatest total grant amount with sum and group by.

  • DELETE OLD DBS9:53

    Configure a maintenance plan to back up full database backups and transactional log backups with separate schedules, and delete old backups after seven days using a cleanup task.

  • SSRS REPORT DROP DOWN14:43

    Learn to set up SQL Server Reporting Services and create a drop down parameter in SSRS reports, enabling distinct values and multi-value filtering for end users.

  • SOLVING PROBLEMS6:14

    Develop problem solving as a DBA by resolving the missing SQL Server Native Client 11.0 driver and validating fixes with Visual Studio for SSIS.

  • CREATING A SSIS PACKAGE AND SETTING UP A JOB15:09

    Create an SSIS package in Visual Studio to import data from Excel to SQL Server, map columns, and set up a scheduled job that truncates the table before each run.

  • SETTING UP A JOB FOR SSIS4:34

    Set up a SQL Server Agent job to run an SSIS package that imports Excel data into a SQL table, using truncate to prevent duplicates, with a scheduled run.

  • SHRINK OR NOT TO SHRINK A DATABASE PART 113:03

    Assess when to shrink a database, weighing free space and unused space against fragmentation (internal and external), and follow best practices: backups and off-peak downtime.

  • SHRINK OR NOT TO SHRINK A DATABASE PART 211:37

    Learn to assess database size and fragmentation, perform shrink operations, back up before changes, and apply index maintenance: reorganize, rebuild, and update statistics for space and performance.

  • EXECUTING A JOB WITH A STORED PROCEDURE FOR FRAGMENTATION17:48

    Automate index maintenance by deploying a stored procedure that analyzes fragmentation and automatically reorganizes or rebuilds indexes via a scheduled job, using thresholds to optimize performance.

  • CREATING A TRIGGER FOR AUDITING10:23

    Create an after insert or update trigger on the employees table to maintain an audit trail in the audit log, capturing who changed data and when.

  • BRIEF INTRO TO JOINS5:21

    Explore the four primary SQL joins—inner, left, right, and full outer—through a hands-on demo with employees and department tables, illustrating matching on IDs and nulls for nonmatches.

  • QUESTIONS ABOUT BEER WITHOUT SCRIPTS PART 112:39

    This project guides you through creating a beer database with tables: products, city, sales, demographics, and competitors, and writes T-SQL to find city with the highest beer sales by quantity.

  • QUESTIONS ABOUT BEER WITHOUT SCRIPTS PART 25:39

    Learn how to identify the most popular beer type by sales volume using joins, sum, group by, and order by to compute total quantity sold, the ale.

  • QUESTIONS ABOUT BEER WITHOUT SCRIPTS PART 36:51

    determine which city has the highest average income and how it relates to beer sales by joining sales, city, and demographics, grouping and ordering by average income descending.

  • QUESTIONS ABOUT BEER WITHOUT SCRIPTS PART 44:22

    Investigate whether city population correlates with beer sales by joining city and sales tables, aggregating total sales, and analyzing results; conclude no clear correlation.

  • QUESTIONS ABOUT BEER WITHOUT SCRIPTS PART 53:33

    Compute total revenue by beer type by summing quantity times price using inner joins between sales and products, then group by beer type and order by total revenue.

  • QUIZ 21:45

    Complete quiz two in sql administration part four. Build a products database with states, cities, and products; answer four questions using aliases and sum functions.

  • QUIZ 2 ANSWERS PART 14:03

    Learn to write a SQL query listing product names with their city and state using aliases p, c, and s, joining products, cities, and states on city_id and state_id.

  • QUIZ 2 ANSWERS PART 22:21

    Compute the total population per city using sum and group by, applying aliases and underscores for readability, in SQL Server administration part four.

  • QUIZ 2 ANSWERS PART 33:41

    Calculate the per-city product count by joining cities and products, grouping by city name, and applying a having count greater than one to reveal Houston, New York City, and Chicago.

  • QUIZ 2 ANSWERS PART 41:29

    Learn to find the city with the largest population in SQL administration part four by selecting city name and population from cities, ordering by 1 desc, or using top 1.

  • HOSPITAL SYSTEM PART 19:41

    Build and query a hospital SQL database by creating patient, doctor, and appointment tables, joining data to view May 2024 appointments, and updating a doctor’s specialty with a where clause.

  • HOSPITAL SYSTEM PART 26:17

    Learn to query a hospital database by retrieving doctors' names and patient counts using the count function, inner and right outer joins, group by, then delete with a where clause.

  • TRAVEL SYSTEM QUERY PART 111:06

    Build and query the travel database by creating and filling the customer, destination, and bookings tables, then practice intermediate SQL concepts like group by having and ordering by booking date.

  • TRAVEL SYSTEM QUERY PART 24:18

    Learn to extract the month from booking date and compute total revenue per month for 2024 by joining bookings with destinations and aggregating revenue.

  • TRAVEL SYSTEM QUERY PART 34:11

    Explore how to use a case statement for conditional logic in SQL to categorize destinations by price into budget, mid-range, and luxury, based on defined price ranges.

  • TRAVEL SYSTEM QUERY PART 42:12

    Identify customers with incorrect emails using SQL like and not like operators, selecting first name, last name, and email. Filter for emails not containing 'example', as demonstrated with Frank Davis.

  • QUIZ 3 ANSWERS9:01

    This quiz walkthrough guides you to create a school database, build students and courses tables with a foreign key, insert data, and apply case statement with a join and aliases.

  • ADVENTUREWORKS2022 PRODUCTS PROJECTIONS9:41

    Write readable SQL scripts with indentation and uppercase keywords, and translate Adventureworks 2022 data into charts for upper management using Power BI or SSR Reporting.

  • PREPARATION AND INTERVIEW QUESTIONS11:54

    Prepare for junior SQL database roles with recruiter and HR guidance, resume tips, and common interview questions covering backups, restores, joins, indexing, security, and problem solving.

Requirements

  • The prerequisites are that the student has taken Learn T-SQL and SQL Server Administration part 1 courses
  • SQL server 2022 and access to Excel application

Description

In the SQL Server Administration Part 4 Projects course, students will engage in hands-on projects that reinforce their learning and application of SQL Server management concepts. These projects will involve creating databases, defining tables and columns, defining datatypes and lengths and writing queries to interact with the database effectively. Students will learn to insert data, use Excel worksheets as data sources, and prepare data for upper management by creating graphs and charts for effective data visualization. SQL scripts will be employed to manage databases, implement security measures, and optimize performance. Moreover, students will have the opportunity to collaborate with their peers, sharing insights and troubleshooting challenges together, which mirrors real-world database administration scenarios.

A key focus of the course will be on performance optimization techniques. Students will learn why shrinking a database is generally not recommended, as it can lead to fragmentation and adversely affect performance. They will explore effective strategies for managing fragmentation of indexes and data, including regular maintenance tasks like rebuilding and reorganizing indexes to ensure efficient query performance. To succeed in this course, a solid understanding of T-SQL and completion of SQL Administration Part 1 are essential, as these foundational skills are crucial for tackling more advanced topics.

Who this course is for:

  • This course is designed with the understanding that the student has good knowledge in Learn T-SQL and SQL Server Administration part 1 course at minimum