Join Bill Weinman for an in-depth discussion in this video Selecting rows, part of MySQL Essential Training.
- View Offline
- Exercise Files
…The Select statement is used for most data retrieval in SQL.…Here, I have the SID application open in my browser and I'm going to choose the…world database and, I'm going to enter a simple Select statement, select and…a single quote Hello, World and a closing single quote and a semicolon and…I'll press the go button here and you see the result is Hello, World.…The select statement is used for queries that…will return a value or a set of values.…
And select is used to display the result of any query.…In this case, the query is a literal string with the words Hello, World in it.…But it's still a query.…It just doesn't come from the database.…You could just as easily say select 1 plus 2.…I still have the semi-colon there and you see…that the query is 1.2 and the result is 3.…So now let's get some rows from a table in the database.…If I say select asterisk from and the table name is country,…like that, semi-colon and we get all the rows from the country table.…
You notice the status display says 239 rows…returned and it took 13.5 milliseconds to do that.…
- Writing queries
- Creating and updating databases and tables
- Using MySQL built-in functions
- Sorting and filtering data
- Updating tables with triggers
- Working with subselects and views
- Creating and using a stored function
Skill Level Beginner
PHP with MySQL Essential Trainingwith Kevin Skoglund14h 32m Beginner
1. Installing and Configuring the Test Environment
2. Basic Syntax
3. Creating a Database
4. MySQL Data Types
5. MySQL Functions
8. Subselects and Views
9. Stored Routines
10. PHP's PDO Interface with MySQL
- 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.