…A given table may have a lot of columns and you will often be interested in…only some of them fortunately, selecting particular columns…is easy and here is how it's done.…Here I have SID opening my browser and I'm going to select the world database, and if…I just select like this, SELECT * FROM Country…ORDER BY Code; and I'll press the Go button.…You see we get all 239 rows.…
And we also get all of the columns, if I…scroll off to the side here, you see there's even more.…The asterisk is in the place where you would list the columns you wanted returned…by the query the asterisk is simply the wildcard that means all of the columns.…You can select particular columns by listing them in…the Select statement in the place where the asterisk is.…So if I come over here I can say Name, Code, Region, Population, and I press Go.…
And I just get those columns, Name, Code, Region, and Population…in the order that I specified them in the SELECT statement.…If you would like to return different names in your column headers, you…
- 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
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.