Welcome to collectivesolver - Programming & Software Q&A. A website you can trust. I check, compile and run every program. Contact me at: aviboots(AT)netvision.net.il
Hostgator 1 Penny

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


6,869 questions

9,775 answers

573 users

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

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


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
...