
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Learn to manage and analyze data with PostgreSQL and Microsoft SQL, from beginner-friendly setup to syntax differences, with practice in PKG admin and SQL Management Studio.
Install PostgreSQL and pgAdmin, select the 64-bit Windows installer, and configure the default port and a simple password to connect to your PostgreSQL database via the query tool.
Celebrate reaching this milestone in the PostgreSQL and MS SQL for Beginners course and stay motivated with quality checks, q&a support, and a certificate.
Install Microsoft SQL Server 2019 Express and SQL Management Studio, then connect to the server using the SQL Shell. Create a database in Management Studio to verify the connection.
Learn to debug SQL server installation by uninstalling all components with admin PowerShell and msiexec /x, cleaning program files, then reinstalling to ensure a successful setup.
Create and connect a test database using pgAdmin, then design three tables for customers, products, and transactions. Learn core table design, data types, and primary and foreign key constraints.
Create a training database and a customer table in MS SQL using the create command, defining columns for customer ID, first name, last name, age, and email ID.
Create a classroom database and a table named science class with enrollment number (int), name (varchar), and signs marks (int), using the query tool and basic database creation steps.
Learn how to insert data into the customer table in PostgreSQL using insert into, with or without column names, handle missing values and not null constraints, and insert multiple rows.
learn to insert data into MS SQL tables using insert into with values, specifying columns, inserting single and multiple rows, and handling strings, integers, and missing columns.
learn to import data into a PostgreSQL table using the copy command from csv and text files, with delimiters and csv headers (csv only).
Learn to import data into an MS SQL table from a CSV file using bulk insert, ignoring the first row and setting the comma and newline terminators.
Practice inserting three student scores into the science class table using insert into, then import eight more scores from a CSV file into the same table.
Fetch data from the customer table using the select command, retrieve one or multiple columns, or all columns with a wildcard, and view result sets.
Execute select statements to fetch data from customer table, choosing first name and last name or all columns with the star wildcard, and run queries using F5 to visualize results.
Use the distinct keyword with select to fetch unique values and eliminate duplicates from a table. Learn selecting single or multiple columns, and that distinct removes exact duplicate rows.
Learn how to remove duplicate values with select distinct in MS SQL, using the customer table to show distinct first names and distinct name-age combinations.
Learn how to filter data in PostgreSQL using the where clause, including equality and greater-than conditions, selecting specific columns, and using distinct values and star.
Apply where clauses in ms sql to filter results, using conditions like age = 25, age > 25, or age > 35, and select first names or columns from customer.
Explore how PostgreSQL uses and, or, and not to combine multiple conditions. Apply them in where clauses with examples like age between 20 and 30 and not equal to 25.
Explore how to combine conditions using and, or, and not in MS SQL to filter customers by age ranges and names, with practical select queries.
Apply sql filtering with select and where to fetch names over 60, records for more than 35 but less than 60, and the rest not in those lists using logic.
Learn how to update records in a PostgreSQL table using update queries, including the update set where syntax and practical examples of changing age, last name, and emails.
Describe updating records in MS SQL by setting age and last name with a where clause, and updating emails based on first name conditions, with visible affected rows.
Master deleting rows in PostgreSQL by using delete from with a where clause to remove a single row, multiple rows, or all rows, illustrated with practical examples.
Master deleting data in MS SQL with delete from and conditions, removing specific rows by customer id or age, and clearing an entire table when needed.
Learn how to alter a PostgreSQL table by adding, dropping, modifying, or renaming columns, changing data types, and managing constraints or indexes using the alter table syntax.
Apply and manage constraints in PostgreSQL by adding and dropping not null and check constraints, defining primary and foreign keys, and testing with insertions and deletions.
Learn how to use alter in MS SQL to add, drop, or modify columns, apply not null and check constraints, rename via stored procedures, and manage primary keys.
Update Popeye's marks in the science class table from 33 to 45, delete the row for Rob, and rename the column from name to student_name.
create and restore a database from a backup file, then inspect the customer, product, and sales tables with basic select queries to learn data structure and relationships.
Troubleshoot PostgreSQL restoration by creating a new database, selecting the correct backup format (tar, dot backup, dot sql, or directory), and updating the binary path in pg admin when needed.
Create a PostgreSQL database from csv files by building the customer, product, and sales tables, then load data with the copy command into each table.
Back up the database to a tar file, then recover it after accidentally dropping the science class table, demonstrating how to back up and restore data.
Back up a complete database to a specified path, then share the backup file for others to restore. Restore by selecting the backup file from devices and naming the database.
Create a new SQL database from CSV and Excel sources, using create table and bulk insert, restore backups, and populate customer, product, and sales tables with imported data.
Learn to use the in operator in PostgreSQL to filter multiple values in one block, replacing multiple or conditions, with city examples like Philadelphia and Seattle.
Switch to the target database with use, query the customer table with select, and filter cities by Philadelphia or Seattle using or logic or the in statement.
Learn how to use the between condition in PostgreSQL to retrieve rows within a specific range, including numeric ages and date ranges, with inclusive bounds and not between options.
Use the between and not between operators in MS SQL to filter data by ranges, such as ages between 20 and 30, and ship dates within start and end date.
Learn pattern matching in PostgreSQL with the like condition, using % and _ wildcards and an escape character. Use not like and distinct for patterns starting with G.
Discover how the like statement enables pattern matching in MS SQL, using % and _ wildcards to filter names by starting letters, containing Nelson, or four-character first names.
Apply the in, between, and like operators in where clauses through exercises: list unique cities in north or east, filter sales between 100 and 500, and identify four-character last names.
Learn to add comments in sql queries, using multi-line comments /* ... */ and end markers, and single-line comments with --. See how comments name the lecture and guide execution.
Learn how to use the order by clause to sort results, such as California customers ordered by name, with ascending and descending options plus multiple columns.
Learn to use the order by clause in ms sql to sort results. Apply it to column names or numbers with alphabetic or numeric data, as shown in examples.
Learn how to limit query results in PostgreSQL using the limit clause, with examples ranking by age in descending and ascending order to fetch top or bottom records.
Replace the limit clause in MS SQL with select top to cap results, compare with MySQL, and use order by to show ascending or descending ages.
Apply sorting to the orders dataset by discount, showing only discounts greater than zero in descending order, and limit results to the top ten with the highest discounts.
Learn to use the as keyword to alias columns and tables in PostgreSQL, creating meaningful names like serial_number and customer_name for clearer results.
Learn to use as in MS SQL to alias tables, columns, and subqueries, with examples renaming customer ID to serial number and customer name to name, without changing the table.
4 Reasons why you should choose this SQL course
Carefully designed curriculum teaching you everything in SQL that you will need for Data analysis in businesses
Comprehensive - covers basic and advanced SQL statements in both, PostgreSQL and MS SQL
Downloadable resources covering essential topics on SQL
Your queries on SQL and anything covered in the Masterclass will be responded by the Instructor himself
A Verifiable Certificate of Completion is presented to all students who undertake this SQL course.
Why should you choose this course?
This is a complete tutorial on SQL which can be completed within a weekend. SQL is the most sought after skill for Data analysis roles in all the companies. PostgreSQL and MS SQL are highly desired skills for database management and data analysis roles. So whether you want to start a career as a data scientist or just grow you data analysis skills, this course will cover everything you need to know to do that.
What makes us qualified to teach you?
The course is taught by Abhishek, Pukhraj and Nadeem. Instructors of the course have been teaching Data Science and Machine Learning for over a decade. They have an in-depth knowledge in advanced SQL, PostgreSQL, MS SQL, database management, and various data analysis tools available in the market.
Our Promise
Teaching our students is our job and we are committed to it. If you have any questions about the course content, practice sheet or anything related to any topic, you can always post a question in the course or send us a direct message.
By the end of this course, your confidence in using SQL will soar. You'll have a thorough understanding of how to use SQL for Data analytics as a career opportunity.
Go ahead and click the enroll button, and I'll see you in lesson 1!
Cheers
Start-Tech Academy
FAQ's
Why learn SQL?
SQL is the most universal and commonly used database language. It powers the most commonly used database engines like PostgreSQL, SQL Server, SQLite, and MS SQL. Simply put, If you want to access databases then yes, you need to know SQL.
It is not really difficult to learn SQL. SQL is not a programming language, it’s a query language. The primary objective where SQL was created was to give the possibility to common people to get interesting data from the database. It is also an English-like language so anyone who can use English at a basic level can write SQL queries easily.
SQL is one of the most sought-after skills by hiring employers.
You can earn good money
How much time does it take to learn SQL?
SQL is easy but no one can determine the learning time it takes. It totally depends on you. The method we adopted to help you learn SQL quickly starts from the basics and takes you to advanced level within hours. You can follow the same, but remember you can learn nothing without practicing it. Practice is the only way to learn SQL quickly.
What's the difference between SQL and PostgreSQL?
SQL is a language. Specifically, the "Structured Query Language"
PostgreSQL is one of several database systems, or RDMS (Relational Database Management System). PostgresSQL is one of several RDMS's, others of which are Oracle, Informix, MySQL, and MSQL.
All of these RDMSs use SQL as their language. Each of them has minor variations in the "dialect" of SQL that they use, but it's all still SQL.
Which is better, PostgreSQL or MS SQL?
Both are excellent products with unique strengths, and the choice is often a matter of personal preference.
PostgreSQL offers overall features for traditional database applications, while MS SQL focuses on faster performance for Web-based applications.
Open-source development will bring more features to subsequent releases of both databases.
Who uses these databases?
Here are a few examples of companies that use PostgreSQL: Apple, BioPharm, Etsy, IMDB, Macworld, Debian, Fujitsu, Red Hat, Sun Microsystem, Cisco, Skype.
Companies that use MS SQL: Accenture, Cognizant, Dell, Microsoft, ViaVarejo etc.