This article is a mirror article of machine translation, please click here to jump to the original article.

View: 16043|Reply: 0

[Communication] SQL statement link and fuzzy query usage

[Copy link]
Posted on 11/17/2014 10:39:28 PM | | |
Like is generally used with the % symbol to achieve fuzzy query functions:
% can represent any string
Take an example:
a%b%cdefg% description - any number of characters can be replaced with any number of characters at the % sign
List one or two strings that can be matched:
[a] mkfjgsjrg [b] keksrfkl [cdefg]dfgreg (outside the square brackets is a string with % placeholders)

Where to use:
After where, in the form of a condition, the output is restricted, such as:
select * from AAA where AA1 like '123%'





Previous:Some personal suggestions for the forum!
Next:Baidu SEO Guide 2.0 [Official Version]
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com