mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-10-11 08:53:20 +08:00
sql语法高亮
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div class="m-bg">
|
||||
<h1>SQL MID() 函数</h1>
|
||||
<h2>MID() 函数</h2> <p>MID() 函数用于从文本字段中提取字符。</p> <h3>SQL MID() 语法</h3> <div class="code notranslate"><pre><div> SELECT MID(column_name,start[,length]) FROM table_name;</div></pre></div> <br/><table class="reference notranslate">
|
||||
<h2>MID() 函数</h2> <p>MID() 函数用于从文本字段中提取字符。</p> <h3>SQL MID() 语法</h3> <div class="code notranslate"><pre><code class="language-sql"><div> SELECT MID(column_name,start[,length]) FROM table_name;</div></code></pre></div> <br/><table class="reference notranslate">
|
||||
<tr>
|
||||
<th align="left" valign="top" width="20%">参数</th> <th align="left" valign="top" width="80%">描述</th> </tr>
|
||||
<tr>
|
||||
@@ -26,6 +26,6 @@
|
||||
<tr>
|
||||
<td>5</td> <td>Berglunds snabbköp</td> <td>Christina Berglund</td> <td>Berguvsvägen 8</td> <td>Luleå</td> <td>S-958 22</td> <td>Sweden</td> </tr>
|
||||
</table>
|
||||
<h2>SQL MID() 实例</h2> <p>下面的 SQL 语句从 "Customers" 表的 "City" 列中提取前 4 个字符:</p> <div class="example margin-b-10"> <h2 class="example">实例</h2> <pre><div class="example_code notranslate"> SELECT MID(City,1,4) AS ShortCity<br/>FROM Customers; </div></pre> </div> <div class="text-center padding-10 margin-t-5">
|
||||
<h2>SQL MID() 实例</h2> <p>下面的 SQL 语句从 "Customers" 表的 "City" 列中提取前 4 个字符:</p> <div class="example margin-b-10"> <h2 class="example">实例</h2> <pre><code class="language-sql"><div class="example_code notranslate"> SELECT MID(City,1,4) AS ShortCity<br/>FROM Customers; </div></code></pre> </div> <div class="text-center padding-10 margin-t-5">
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user