Join Bill Weinman for an in-depth discussion in this video Literal strings, part of MySQL Essential Training.
- View Offline
- Exercise Files
…You use literal values for a lot of purposes for example when you add…or update rows to a table, you'll often use literals for the new values.…Literal strings in MYSQL deserve some attention because there are some…ways in which they can be different from the SQL standard.…For example, I say select hello world with the…single quotes around the string and a semicolon, press Go, we get hello world.…So this is standard SQL and standard SQL literal string.…
Has single quotes and the characters are inside of the single quotes.…Now, if I want to concatenate strings in MYSQL, you can do that like this.…And this will give me the same result.…Press Go, and that's exactly the same result.…Now, you notice what we have here is we have three strings.…One string there, another string here which is a comma…and a space, and another string here with the word world.…So, those are three separate strings, each in…single quotes and just separated by spaces like this.…
And in MySQL that with concatenate the strings and it's…really important to note that this is not standard SQL.…
- 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.