Join Simon Allardice for an in-depth discussion in this video Using SELECT statements, part of SQL Server 2008 Essential Training.
- View Offline
- Exercise Files
Let's begin by going through some simple SQL to read or retrieve…information from our database.…I am going to open up SQL Server Management Studio and connect to my instance here.…After it's open, the button that I am going to click is this one, the New Query…button on the toolbar.…A query, well, that's the Q in SQL.…It's Structured Query Language.…We write queries and this one will use the most common piece of SQL, the SELECT statement.…We are selecting or choosing information from one of the tables in one of our databases.…
So I am going to write this phrase to begin with SELECT *, using the asterisk, From.…I want to get everything from somewhere.…Well, there's the question. Which database?…Which table?…Because in SQL Server Management Studio I can see that I have got quite a few…databases, even the system databases.…And I could be writing a select statement that goes against any of them.…So I am first going to have to say which database I'm coming from.…So I'm going to say I want to use AdventureWorksLT.…
- Using T-SQL (Transact-SQL)
- Managing databases with SQL Server Management Studio
- Understanding database normalization
- Using SELECT statements
- Building indexes
- Monitoring database size and integrity
- Backing up and restoring databases
- Creating functions and stored procedures
- Managing database permissions
- Creating and formatting reports
- Adding charts to reports
- Creating and executing a simple SSIS package
Skill Level Beginner
1. Getting Started
2. Installing SQL Server 2008 R2
3. Tools and System Databases
SQL Server system databases2m 22s
4. Creating Databases
5. Importing Existing Data
6. Retrieving Data with SQL
7. Inserting and Updating Data
8. SQL Functions
9. Stored Procedures and Transactions
10. Core Administration Tasks
11. Backing Up and Restoring
12. Security Features
13. Reporting Services
14. Integration Services
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.