当前位置:网站首页>The difference between like,%, - in database query SQL
The difference between like,%, - in database query SQL
2022-06-26 02:41:00 【New yanghaibo】
% The percent character : Means any character appears any number of times ( It can be 0 Time )
SQL Sentence selection name In letters "k" All customers at the end :
SELECT * FROM Websites WHERE name LIKE '%k'; Execute output result :
Underline wildcards : Indicates that only a single character can be matched , No more, no less , It's just a character .
Query employee name to employee 1 start , People with only one character after them
select * from #tmpEmployee where EmpName like ' staff 1_'
like The operator : LIKE The function is to indicate mysql The latter search pattern is to use wildcards instead of direct equal matching for comparison .
SQL Sentence selection name In letters "G" All the customers who started :
SELECT * FROM Websites WHERE name LIKE 'G%';Execute output result :

边栏推荐
- How do I take a screenshot of the iPad? 7 ways to take quick screenshots of iPad
- OpenAPI 3.0 规范-食用指南
- 在同花顺网上开户安全吗?如何网上开一个券商账户
- MySQL根据查询的数据更新记录
- 如何在 R 中的绘图中添加回归方程
- 100002nd prime
- 小 P 周刊 Vol.10
- Implementation of depth first traversal based on adjacency matrix
- How did the thief unlock the password after the iPhone was stolen? After reading the long knowledge
- High performance and high availability computing architecture based on microblog comments
猜你喜欢

音视频与CPU架构

财富自由技能:把自己产品化

【图像过滤】基于matlab GUI图像过滤系统【含Matlab源码 1913期】

ROS2+DDS+RTPS
![[image filtering] image filtering system based on Matlab GUI [including Matlab source code 1913]](/img/53/6683e7db960fbba773a9013985dcca.jpg)
[image filtering] image filtering system based on Matlab GUI [including Matlab source code 1913]

Breadth first traversal based on adjacency table

喜讯 | 祝贺Apache Linkis(incubating) 社区新增5位Committer

Termux install openssh

Breadth first traversal based on adjacency matrix

A high-frequency interview question from a large factory: tell me about the solution of high and low interface idempotence? Solutions are attached.
随机推荐
如何在 ggplot2 中向绘图中添加表格
Thirty ninth step
How did the thief unlock the password after the iPhone was stolen? After reading the long knowledge
Audio video and CPU architecture
Tab switch
DF reports an error stale file handle
How do I take a screenshot of the iPad? 7 ways to take quick screenshots of iPad
网上开户选哪个证券公司?网上开户是否安全么?
OpenAPI 3.0 规范-食用指南
Redis classic 20 questions
Termux install openssh
High availability in Internet three highs (high concurrency, high performance and high availability)
[image filtering] image filtering system based on Matlab GUI [including Matlab source code 1913]
100002nd prime
ROS2+DDS+RTPS
2022-06-25: given a positive number n, it means that there are tasks 0~n-1. Given an array of length N, time[i] means the time when task I is completed. Given a two-dimensional array matrix, matrix[j]
UTONMOS:以数字藏品助力华夏文化传承和数字科技发展
PyQt theme
Pie chart metamorphosis record, the liver has 3000 words, collection is to learn!
OpenAPI 3.0 规范-食用指南