Welcome to collectivesolver - Programming & Software Q&A. A website you can trust. All programs tested and works. Contact: aviboots(AT)netvision.net.il
GreenGeeks Web Hosting - Faster, Scalable & Eco-Friendly

BlueHost Web Hosting

Ecommerce Software - Best Ecommerce Platform Made for You - Free Trial

Ecommerce Software - Best Ecommerce Platform Made for You - Free Trial

getflywheel wordpress hosting


Distribute your Resume to 500+ Job Boards & Recruiters


7,904 questions

11,012 answers

573 users

How to search for a specified pattern with the LIKE operator in a WHERE clause in SQL

OneTravel.com | Grab our Special Flight Deal!


31 views
asked Sep 17, 2015 by avibootz
edited Sep 17, 2015 by avibootz

4 Answers

0 votes
--   selects all workers that the their first name start with the letter "d"

SELECT * FROM Workers
WHERE FirstName LIKE 'd%'

 




answered Sep 17, 2015 by avibootz
0 votes
--   selects all workers that the their first name end with the letter "f"

SELECT * FROM Workers
WHERE FirstName LIKE '%f'

 




answered Sep 17, 2015 by avibootz
0 votes
--   selects all workers that the their first name contain "ie"

SELECT * FROM Workers
WHERE FirstName LIKE '%ie%'

 




answered Sep 17, 2015 by avibootz
0 votes
--   selects all workers that the their first name NOT contain "ie"
 
SELECT * FROM Workers
WHERE FirstName NOT LIKE '%ie%'

 




answered Sep 17, 2015 by avibootz
...