<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ## 9.4.1.算術運算符 ``` + - * / % ``` ## 9.4.2.比較運算符: ``` 相等: = 不相等: <> 或 != 大于: > 大于等于: >= 小于: < 小于等于: <= ``` ## 9.4.3.邏輯運算符: ``` 邏輯與: && 或 and 邏輯或: || 或 or 邏輯非: ! 或 not ``` 導入范例數據表(電子商城表): ![](https://img.kancloud.cn/1c/a1/1ca17b1a08f55d2dd0e8967c47a17f02_483x55.jpg) ## 9.4.4.其他特殊運算符 * like模糊查找運算符: 用于判斷某個字符型字段的值是否包含給定的字符。 語法形式: ``` xxx字段 like ‘%關鍵字%’ 其中:%表示“任意個數的任意字符”。 還可以使用“_”(下杠),表示“任意一個字符”。 where name like ‘羅%’ //找出name的第一個字為“羅”的所有 //可以找出:”羅成”,“羅永浩”,“羅納爾多”,“羅” //但找不出“c羅納爾多”這個 where name like ‘羅_’ //可以找出:”羅成”, “羅蘭”, //但找不出“c羅”,“羅永浩” 極端情況: where name like “羅” //其實它只是相當于: name = ‘羅’ 如果不使用“%”或“_”,則 like 相當于等于(=)。比如: xxx字段 like ‘關鍵字’ 相當于: xxx字段 = ‘關鍵字’ ``` * between范圍限定運算符: 用于判斷某個字段的值是否在給定的兩個數據范圍之間。 語法形式: ``` xxx字段 between 值1 and 值2 其含義相當于: xxx字段 >= 值1 and xxx字段 <= 值2 ``` * in運算符: 用于判斷某個字段的值是否在給出的若干個“可選值”范圍。 語法形式: ``` xxx字段 in (值1, 值2, ...... ) 其含義是:該字段的值等于所列出的任意一個值,就算滿足條件,比如: 籍貫 in (‘北京’,‘山東’,‘河北’, ‘江西’); //則某人籍貫為上述4個之一就ok。 ``` * is運算符: 用于判斷一個字段中的是“是否存在”(即有沒有),只有兩個寫法,如下所示: ``` where content is null; //不能寫成: content = null; where content is not null; //不能寫成: content != null; ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看