How to Filter with the WHERE clause in SQL

  Рет қаралды 33,339

Becoming a Data Scientist

Becoming a Data Scientist

4 жыл бұрын

Filter your SQL table for the information you need by using the WHERE clause!
Queries using WHERE:
1) Filter your query based on an exact match: SELECT * FROM table WHERE column='value'
2) Filter your query using Wildcards to match a pattern: SELECT * FROM table WHERE column LIKE '%str%ing%'
3) Filter your query using numeric operators: SELECT * FROM table WHERE column &lt 5
4) Beef up your filters by using the AND & OR statements: SELECT * FROM table WHERE (column1 &lt 5 AND column2 LIKE '%a%') OR column3 = 1
5) Exlude info from you query using the NOT clause: SELECT * FROM table WHERE NOT column1 = 1
6) Pull a range of information using the BETWEEN clause: SELECT * FROM table WHERE column1 BETWEEN 1 AND 5
7) Extract all the NULL or NOT NULL values out of your table: SELECT * FROM table WHERE column1 IS NULL
Get the Northwind Database: • How to Load a Sample P...
Support the Channel:
1) Subscribe: www.becomingads.com/o/youtube
2) DataCamp:
3) Udacity:

Пікірлер: 35
@rainnedaze9659
@rainnedaze9659 3 жыл бұрын
So glad I found this. This is so direct and clear. Thank you!
@gkk5109
@gkk5109 11 ай бұрын
Badly he dont have a lot of videos did u find other good course for sql server?
@aniknohan3023
@aniknohan3023 2 жыл бұрын
You’re amazingly awesome. Love the way you teach SQL. You make everything simplest possible.
@gkk5109
@gkk5109 11 ай бұрын
Badly he dont have a lot of videos did u find other good course for sql server?
@NinaTucker123
@NinaTucker123 29 күн бұрын
Just subscribed thank you for all your information you break it down so well
@therugbaddie5587
@therugbaddie5587 3 жыл бұрын
you are helping so many people , thank you!
@ImranKhan-ft7ns
@ImranKhan-ft7ns Жыл бұрын
Thank you so much for the clear explanation.
@teawithcinnamon
@teawithcinnamon 2 жыл бұрын
Thank you! This playlist is very helpful.
@Prettybyale
@Prettybyale 2 жыл бұрын
Thank you so much for your video! they are easy and you get straight to the point :)
@dejasbeautyxoxo1361
@dejasbeautyxoxo1361 2 жыл бұрын
This was beyond helpful thank you so mcuh!!!
@TheFallonCarrington
@TheFallonCarrington Жыл бұрын
I just want to say thank you so much for this
@juliakristavilladiego4425
@juliakristavilladiego4425 3 жыл бұрын
Thank you. Really helpful!
@beingfijian1855
@beingfijian1855 3 жыл бұрын
Great video, please keep making more. they are very helpful!
@gkk5109
@gkk5109 11 ай бұрын
Badly he dont have a lot of videos did u find other good course for sql server?
@ZiemsRyan
@ZiemsRyan 3 жыл бұрын
Very helpful! Thank you!
@b.sanjay5720
@b.sanjay5720 4 ай бұрын
Very Important topics SQL for data science learn
@b.sanjay5720
@b.sanjay5720 4 ай бұрын
Tell me
@haseebasif100
@haseebasif100 2 жыл бұрын
Its really great and underrate video, thanks alot
@IamNagendra_yadav
@IamNagendra_yadav 9 ай бұрын
you're amazing one video is enough for WHERE clause
@EliseXO7
@EliseXO7 Жыл бұрын
So helpful, thank you.
@salvindsouza7053
@salvindsouza7053 3 жыл бұрын
Appreciate your work
@mohamedhfayedh1001
@mohamedhfayedh1001 Жыл бұрын
your videos are just perfect ❤
@MrTravellertz
@MrTravellertz 3 ай бұрын
Your vedeo is helpful
@JackieShroffFan
@JackieShroffFan Жыл бұрын
Thank you so much for your help. I was struggling with the WHERE statement (filter data by listing all managers). In my case it was listing all movies released in January, February etc. Thanks again God Bless 😇👍
@partabparmar5537
@partabparmar5537 2 жыл бұрын
thank you
@Larva07
@Larva07 3 жыл бұрын
I like your videos and I think they are a good choice for those who have the basic idea. Have you considered giving some practices at the end of the video or a video full or practices with the answer?
@gkk5109
@gkk5109 11 ай бұрын
Badly he dont have a lot of videos did u find other good course for sql server?
@mulugetakebede6651
@mulugetakebede6651 4 жыл бұрын
Thank you brother, this is so helpfull
@becomingADS
@becomingADS 4 жыл бұрын
Thank you very much! Happy to hear it helped ya out!
@reddyreddy5577
@reddyreddy5577 3 жыл бұрын
kzfaq.info/get/bejne/n5hyndmEs7DUonU.html
@saoirb98
@saoirb98 Жыл бұрын
percent sign is called a modulo
@ff19810606
@ff19810606 2 жыл бұрын
Hi What will happen if we have a select query with multiple conditions in where clause (mix of equal to, not equal to, between, greater than, less than) with and/or without parentheses? Will it fetch correct results? Please let me know. Thank you!
@nyleahmed4338
@nyleahmed4338 3 жыл бұрын
1 MILLION TIMES BETTERTHEN MY TEACHER AT SCHOOL
@davidlewisn1017
@davidlewisn1017 2 жыл бұрын
Hello,could i get help on how to join 5 tables please.David
@ManojKumar-zn2gf
@ManojKumar-zn2gf 2 жыл бұрын
For example country column is holding some country names like USA, UK, India, Australia and some Null values, In my case I need to filter country name 'USA' and fields which is 'NULL' in single where condition. Does there is any other way to filter these condition. Pls let me know answer to this question. Note: Null is not a value in that country column.
Basic Aggregate Functions in SQL (COUNT, SUM, AVG, MAX, and MIN)
5:44
Becoming a Data Scientist
Рет қаралды 84 М.
How to do Subqueries in SQL with Examples
8:20
Becoming a Data Scientist
Рет қаралды 166 М.
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 46 МЛН
Schoolboy - Часть 2
00:12
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 10 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 29 МЛН
Lehanga 🤣 #comedy #funny
00:31
Micky Makeover
Рет қаралды 20 МЛН
SQL SELECT Tutorial   |¦| SQL Tutorial |¦| SQL for Beginners
8:56
Writing CASE WHEN Statements in SQL (IF/THEN)
5:50
Becoming a Data Scientist
Рет қаралды 86 М.
Combine SQL Queries With UNION, INTERSECT, EXCEPT
5:04
Becoming a Data Scientist
Рет қаралды 47 М.
Nested Queries | SQL | Tutorial 18
10:23
Giraffe Academy
Рет қаралды 176 М.
Advanced Aggregate Functions in SQL (GROUP BY, HAVING vs. WHERE)
6:00
Becoming a Data Scientist
Рет қаралды 241 М.
5 Basic SELECT Statement Queries in SQL
6:43
Becoming a Data Scientist
Рет қаралды 122 М.
Learn GROUP BY vs PARTITION BY in SQL
14:03
Anthony Smoak
Рет қаралды 35 М.
How to use the DATE_TRUNC Function in SQL (vs. TO_CHAR)
7:24
Becoming a Data Scientist
Рет қаралды 22 М.
Лучший браузер!
0:27
Honey Montana
Рет қаралды 1,1 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 4,9 МЛН
ноутбуки от 7.900 в тг laptopshoptop
0:14
Ноутбуковая лавка
Рет қаралды 3,6 МЛН
📱магазин техники в 2014 vs 2024
0:41
djetics
Рет қаралды 716 М.