BY CATEGORY▼
SQL CATEGORIES▼
SELECTING DATA IN SQL VIDEOS▼
- SQL Queries Part 1 - Writing basic queries
- SQL Queries Part 2 - Sorting queries in SQL
- SQL Queries Part 3 - Using Criteria in Queries
- SQL Queries Part 4 - Creating Calculations in Queries
- SQL Queries Part 5 - Using CASE Statements
- SQL Queries Part 7 - Using Functions in Queries
- SQL Queries Part 8 - Calculations with Text
- SQL Queries Part 9 - Calculations with Dates
- SQL Queries Part 6 - Using Joins in Queries
- SQL Queries Part 10 - Grouping and Aggregating Data
- SQL Queries Part 11 - Subqueries
- SQL Queries Part 12 - Correlated Subqueries
Selecting data in SQL videos | SQL Queries Part 3 - Using Criteria in Queries
Posted by Andrew Gould on 30 April 2012
Learn how to add criteria to queries in Microsoft SQL Server. This video teaches you how to use the WHERE clause to affect the number of records returned by a query, including how to add criteria to columns containing numbers, text and dates.
You can increase the size of the video:

You can view the video in full screen mode as shown on the left, using the icon at the bottom right of the frame.
You can also increase the quality of the video:

You can improve the resolution of the video using another icon at the bottom right of the frame. This will slow down the connection speed, but increase the display and sound quality. This icon only becomes visible when you start playing the video.
Finally, if nothing happens when you play the video, check that you're not using IE in compatibility view.
In your data, you have listed Star Wars Episode IV twice, instead of Episode VI: Return of the Jedi.
Indeed! It's a typo, we have a new version of the Movies database which corrects this. Well spotted!
Is the updated Movie database accessible to download somewhere in an mdf format? I have a school project I need a sample database to do queries with. Thanks
Hi, you can download a script to create it from this page. The video contains instructions on how to use the file to create the database.
I hope that helps!