Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Database Systems - The SELECT Statement - SELECT * FROM Table WHERE Condition
Play lesson

Database Systems with SQL - Full Course - Database Systems - The SELECT Statement - SELECT * FROM Table WHERE Condition

5.0 (0)
6 learners

What you'll learn

This course includes

  • 4.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

To query a database, you use the SELECT statement specifying the columns you need, and the FROM clause specifying the table to get it from. The data that is returned is referred to as a result set, and the data is stored in a result table. If you say SELECT * FROM TableName, then it will return all rows from the specified table. If you need to specify a condition, use the WHERE clause. Examples: SELECT * FROM Movie; SELECT Title, ReleaseDate FROM Movie WHERE ReleaseDate = 1990; SELECT Title FROM Movie WHERE ReleaseDate = 1990 AND Rating = ‘R’; SELECT Name, Goals1stHalf + Goals2ndHalf FROM Player WHERE Team = ‘Soccer Stars’ ; The WHERE clause supports comparison, logical, and arithmetic operators Subscribe to Appficial for more programming videos coming soon. Also, don't forget to click LIKE and comment on the video if it helped you out!

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere