Get the App
SLTechnology News&Howtos  ›  Database  › 

Example of what character a mysql query begins with

Shulou Source: shulou.com Published: 2022-06-01 01:58:16 10月29日 Update

The editor will share with you an example of what characters mysql queries begin with. I hope you will learn a lot after reading this article. Let's discuss it together.

The statement method that mysql query begins with: 1. Use wildcard to query, code is [SELECT * FROM `roomle` where title like 'positive%';]; 2, use left function to query, code is [where left (title,1)].

The statement method that the mysql query begins with:

1: use wildcards:

SELECT * FROM `roomle`where title like 'positive%'

2: use the left function:

SELECT * FROM `roomle`where left (title,1) = 'positive'

3: use the string interception function:

SELECT * FROM `roomle` where substring (title,1,1) = 'positive'. After reading this article, I believe you have some understanding of what characters mysql queries begin with. If you want to know more about it, please follow the industry information channel. Thank you for your reading!

Tags: Queries characters beginnings functions examples codes methods articles statements wildcards strings over more knowledge industry information channels channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Apple MySQL OPPO Reno NVidia