<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智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                - 基本語句 ~~~ mysql -u root -p 登錄數據庫 create database DB 創建數據庫db drop database DB; 刪除數據庫 use DB 選擇數據庫 show databases; 顯示所有數據庫 create table if not exists `runoob_tbl`( `runoob_id` int unsigned not null auto_increment comment "描述", `runoob_title` varchar(100) default "0" not null , `submission_date` date, primary key ( `runoob_id` ) )engine=InnoDB default charset=utf8;// Myisam drop table if exists T1,T2;//刪除表 show tables 顯示所有表 desc T1 顯示表結構 show create table T1 顯示表結構SQL; alter table T1 rename NEWT1 修改表名 alter table biao modify id int(5) 修改表字段類型 alter table T1 add qqq varchar(10) not null 添加字段 alter table T1 change id id1 char(32) not null 修改字段名 alter table T1 drop id 刪除字段 ~~~ -增刪改 ~~~ insert into Table(id,name) values (null,'Li') ;插入數據 insert into T(id,name) values (null,'Li'),(null,"Zhao"); insert into T values (null,"Li",null,"數據");插入所有列 insert into T(id,name) select id,name from T2; 查詢插入 insert ignore into Table(id,name) values (null,'Li') ; 唯一索引插入 有效防止重復數據 update T set name='Li' where id=1; 更新 update t set num=num+1 where id=1 自動加一 update T left join T1 on T.id=T1.id set u='1',u1='2' where id=1;多表更新 update T set user=replace(user,'a','a1') 替換表字段 update bleA a inner join B b on a.id = b.id set a.name = b.name 查詢更新 delete from T where id =1;刪除 delete from T where id in(1,2,3);刪除多條 truncate table T 清空表 ~~~ - 索引 ~~~ create unique index i on test(openid,rid); unique是唯一索引,默認不是,大于字符串字段需要指定長度 alter table test add unique index ii(rid) 同上 alter table testadd primary key(id); 主索引 alter table test drop index i;刪除索引 drop index ion test 刪除索引 先改后添加 show index from test; ~~~
                  <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>

                              哎呀哎呀视频在线观看