Chapter 10. The SELECT statement
After completing this chapter, you will be able to
Write a SELECT statement.
Sort your results.
Filter a SELECT statement with the WHERE clause.
Use comparison operators.
Use the BETWEEN operator.
Use the WHERE clause with multiple conditions.
Search for a list of values.
Use a wildcard search.
Create aliases.
Use the JOIN operator.
Limit the data returned in your result set.
Use the UNION keyword to combine result sets.
So far in this book, you have learned how to create databases and tables, but what happens after an application has added data to the database? How do you get the data out? Microsoft SQL Server data retrieval is a very straightforward and simple process. To retrieve or access data inside a SQL Server database, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access