SQL String Functions Tutorial (LEFT, RIGHT, POSITION, CONCAT, LOWER, REPLACE)

  Рет қаралды 42,848

Becoming a Data Scientist

Becoming a Data Scientist

Күн бұрын

A step-by-step video tutorial on the most popular SQL string functions like CHAR_LENGTH, LEFT/RIGHT, CONCAT, POSITION, UPPER/LOWER, and REPLACE!
List of string functions:
Queries:
1) Get the number of characters in a string: SELECT CHAR_LENGTH(column1) FROM table
2) Get a certain number of characters starting from the left: SELECT LEFT(column1, 5) FROM table
3) Get a certain number of characters starting from the right: SELECT RIGHT(column1, 5) FROM table
4) Get the position of a character in a string: SELECT POSITION(' ' IN column1) FROM table
5) Combine strings together: SELECT CONCAT(column1,' ',column2) FROM table
6) Make all the characters in a string lowercase: SELECT LOWER(column1) FROM table
7) Make all characters in a string uppercase: SELECT UPPER(column1) FROM table
8) Replace characters in a string: SELECT REPLACE(column1,' ','') FROM table
Get the Northwind Database: • How to Load a Sample P...
Support the Channel:
1) Subscribe:
2) DataCamp:
3) Udacity:

Пікірлер: 38
@jehushaphat
@jehushaphat 3 жыл бұрын
Of all the SQL videos out there, yours have been the most helpful to me!
@ianpropst-campbell6028
@ianpropst-campbell6028 2 жыл бұрын
Great video! Really appreciated seeing the example of using the combination of left, right, char_length and position to separate first and last name
@jananiarunachalam6678
@jananiarunachalam6678 4 жыл бұрын
Thank you for these great tutorials! Can't stress how much I appreciate these.
@shepherdangel3370
@shepherdangel3370 3 жыл бұрын
i realize it's pretty randomly asking but do anybody know a good site to stream new tv shows online?
@bradenjefferson8342
@bradenjefferson8342 3 жыл бұрын
@Shepherd Angel Flixportal =)
@shepherdangel3370
@shepherdangel3370 3 жыл бұрын
@Braden Jefferson thanks, I signed up and it seems to work :D I appreciate it!!
@definitelynotmpc4147
@definitelynotmpc4147 Жыл бұрын
Yo, where did the SQL joins tutorial go? I clicked on this video (seeing "LEFT") and though it was the joins one but I can't find it anywhere
@definitelynotmpc4147
@definitelynotmpc4147 Жыл бұрын
Which was a great video btw, really carrying my IT mark
@tonyperez2205
@tonyperez2205 4 жыл бұрын
Great job. Your videos are really helping me to understand SQL. THank you for your time!!!
@michaeljones2843
@michaeljones2843 3 жыл бұрын
Thanks, these videos are short and to the point, and so very helpful!
@lekhnathsharma9002
@lekhnathsharma9002 2 жыл бұрын
Your way of teaching is pretty cool. Love it :)
@Victoria-dh9jp
@Victoria-dh9jp Жыл бұрын
It was really helpful. God bless you
@jettecantoria
@jettecantoria Жыл бұрын
Thank you. You are awesome!
@markwade4048
@markwade4048 2 жыл бұрын
Very helpful, great video
@SjeetjeMineetje
@SjeetjeMineetje 4 жыл бұрын
Thank you, watched a few of your SQL videos now and they're all really well explained!!
@itsReshad
@itsReshad 2 жыл бұрын
Great video and explanation! Thank you so much - keep the good content coming my friend!
@higiniofuentes2551
@higiniofuentes2551 2 жыл бұрын
Thank you for this very useful video!
@deyscube577
@deyscube577 Жыл бұрын
I want to see all the data when you replaced then what will be the syntex
@nohbu9838
@nohbu9838 4 жыл бұрын
This was great, clear and concise
@factorise001
@factorise001 3 жыл бұрын
really appreciate the knowledge
@liyuanfeng497
@liyuanfeng497 3 жыл бұрын
really awesome videos during my learning journey, so helpful!
@rajupaudel1660
@rajupaudel1660 3 жыл бұрын
Hey Sir, what about the those who has the middle name and if we want to separate middle name as well ?? Could you please make a video on that as well. Thank you!!
@RIVEXNGLE
@RIVEXNGLE 3 жыл бұрын
Likewise, companies that tack the suffix onto the last name.
@stri06
@stri06 2 жыл бұрын
@@RIVEXNGLE use MID & POSITION
@nikunjgupta7277
@nikunjgupta7277 3 жыл бұрын
Really helpful, thanks a lot!
@estebandiaz1306
@estebandiaz1306 2 жыл бұрын
Great video!
@rayyuda4358
@rayyuda4358 3 жыл бұрын
Explain lag and lead function please! Thanks in advance
@Nyansabln
@Nyansabln Жыл бұрын
Thank you !
@juliakristavilladiego4425
@juliakristavilladiego4425 4 жыл бұрын
Thank you. Really helpful! :)
@김도형-g2i
@김도형-g2i 4 жыл бұрын
this is so good!!!
@adiflorense1477
@adiflorense1477 4 жыл бұрын
very help!
@thegymteachersgrandma
@thegymteachersgrandma 3 жыл бұрын
Nice, just got in and it says sql error.... lovin it
@ganeshch8840
@ganeshch8840 2 жыл бұрын
thanks mate.
@GregMoranCom
@GregMoranCom 3 жыл бұрын
Awesome Videos: I am new and came across this: Any wisdom on how to display? Thx
@GregMoranCom
@GregMoranCom 3 жыл бұрын
it is in a cell labeled info
@juliawoodcock5782
@juliawoodcock5782 4 жыл бұрын
Very helpful, thanl you
@higiniofuentes2551
@higiniofuentes2551 2 жыл бұрын
You are using Postgres, but if you use another db, these functions are spelled the same?
@musondaben7052
@musondaben7052 3 жыл бұрын
How can you find the position of a space in a name
How to ROUND in SQL (includes up CEILING and down FLOOR)
2:53
Becoming a Data Scientist
Рет қаралды 14 М.
How to do Subqueries in SQL with Examples
8:20
Becoming a Data Scientist
Рет қаралды 179 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
How to use the DATE_TRUNC Function in SQL (vs. TO_CHAR)
7:24
Becoming a Data Scientist
Рет қаралды 24 М.
SQL String Functions - Manipulate String Values - SQL Tutorial #28
13:14
Data with Baraa
Рет қаралды 2,5 М.
Advanced Aggregate Functions in SQL (GROUP BY, HAVING vs. WHERE)
6:00
Becoming a Data Scientist
Рет қаралды 272 М.
Basic Aggregate Functions in SQL (COUNT, SUM, AVG, MAX, and MIN)
5:44
Becoming a Data Scientist
Рет қаралды 97 М.
Advanced SQL Tutorial | String Functions + Use Cases
13:49
Alex The Analyst
Рет қаралды 183 М.
Combine SQL Queries With UNION, INTERSECT, EXCEPT
5:04
Becoming a Data Scientist
Рет қаралды 51 М.
Searching for text in SQL Server: CHARINDEX and PATINDEX
11:01
SQL Server 101
Рет қаралды 22 М.
SQL Tutorial #28 - String Functions in SQL Explained with Examples
14:21
Software Testing Mentor
Рет қаралды 6 М.