5.21- (Eng) SQL like & Not like Operator | SQL Online Free Course | Microsoft Sql Server | Learn Sql

Published: 10 August 2021
on channel: TutorialsSpace- Er. Deepak Garg
387
12

5.21- (Eng) SQL like & Not like Operator | SQL Online Free Course | Microsoft Sql Server | Learn Sql

learn sql coding,
best way to learn sql server,
microsoft sql server tutorial,
learn sql server online,
sql online tutorial,
learn sql w3schools,
microsoft sql server for beginners,


#LearnSQLTutorials #MSSQLSERVER #SQLSERVER #SQLTutorials
#DBMS #DBMSLectures #DBMSTutorials

PLAYLIST:

Structured Query Language using Microsoft SQL Server In English | MS SQL
   • 5.6- Structured Query Language- How To Cre...  

Database Management System In HINDI | DBMS Lectures In HINDI | DBMS Tutorials In HINDI | B.TECH | DIPLOMA| UGC | NET | GATE
   • [With Notes & PDF File] | Database Managem...  

DBMS - Data Base Management System Tutorials In Hindi | GATE- NET- DBMS Lectures in Hindi
   • DBMS Complete Syllabus- All University exa...  

SQL - Structured Query Language By Using MSSQL In DBMS In Hindi
   • SQL - Structured Query Language By Using M...  

New- Computer Graphics Lectures In Hindi- University Exams And UGC NET GATE
   • Playlist  

5.16- (Eng) SQL Update Statement | SQL Online Free Course | Microsoft Sql Server | Learn Sql Coding    • 5.16- (Eng) SQL Update Statement | SQL Onl...  

5.17- (Eng) SQL Delete Statement | SQL Online Free Course | Microsoft Sql Server | Learn Sql | Sql    • 5.17- (Eng) SQL  Delete Statement | SQL On...  

5.18- (Eng) SQL Select Top, LIMIT, Fetch First first, RowNum Clause | SQL Course | Microsoft Sql    • 5.18- (Eng) SQL Select Top, LIMIT, Fetch F...  

5.19- (Eng) SQL Min & SQL Max Function | SQL Online Free Course | Microsoft Sql Server | Learn Sql    • 5.19- (Eng) SQL Min & SQL Max Function | S...  

5.20- (Eng) SQL Count, SQL AVG, SQL SUM Functions | SQL Online Course | Microsoft Sql Server | Sql    • 5.20- (Eng) SQL Count, SQL AVG, SQL SUM Fu...  

The SQL LIKE Operator
The LIKE operator is used in a WHERE clause to search for a specified pattern in a column.

There are two wildcards often used in conjunction with the LIKE operator:

The percent sign (%) represents zero, one, or multiple characters
The underscore sign (_) represents one, single character
Note: MS Access uses an asterisk (*) instead of the percent sign (%), and a question mark (?) instead of the underscore (_).

The percent sign and the underscore can also be used in combinations!

LIKE Syntax
SELECT column1, column2, ...
FROM table_name
WHERE columnN LIKE pattern;
Tip: You can also combine any number of conditions using AND or OR operators.

Here are some examples showing different LIKE operators with '%' and '_' wildcards:

LIKE Operator Description
WHERE CustomerName LIKE 'a%' Finds any values that start with "a"
WHERE CustomerName LIKE '%a' Finds any values that end with "a"
WHERE CustomerName LIKE '%or%' Finds any values that have "or" in any position
WHERE CustomerName LIKE '_r%' Finds any values that have "r" in the second position
WHERE CustomerName LIKE 'a_%' Finds any values that start with "a" and are at least 2 characters in length
WHERE CustomerName LIKE 'a__%' Finds any values that start with "a" and are at least 3 characters in length
WHERE ContactName LIKE 'a%o' Finds any values that start with "a" and ends with "o"

SQL LIKE Examples
The following SQL statement selects all customers with a CustomerName starting with "a":

Example
SELECT * FROM Customers
WHERE CustomerName LIKE 'a%'; Notes Link:
http://www.tutorialsspace.com/Downloa...


On this page of the site you can watch the video online 5.21- (Eng) SQL like & Not like Operator | SQL Online Free Course | Microsoft Sql Server | Learn Sql with a duration of hours minute second in good quality, which was uploaded by the user TutorialsSpace- Er. Deepak Garg 10 August 2021, share the link with friends and acquaintances, this video has already been watched 387 times on youtube and it was liked by 12 viewers. Enjoy your viewing!