久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      mysql怎樣查詢表的個數(shù)

      在mysql中,可以利用SELECT語句配合count()函數(shù)查詢數(shù)據(jù)庫中表的個數(shù),語法為“SELECT count() FROM information_schema.TABLES WHERE TABLE_SCHEMA='數(shù)據(jù)庫名';”。

      mysql怎樣查詢表的個數(shù)

      本教程操作環(huán)境:windows10系統(tǒng)、mysql8.0.22版本、Dell G3電腦。

      mysql怎樣查詢表的個數(shù)

      查看數(shù)據(jù)庫表數(shù)量

      語法如下:

      SELECT count(TABLE_NAME) FROM information_schema.TABLES WHERE TABLE_SCHEMA='dbname';

      其中dbname是要查看的數(shù)據(jù)庫的名字。

      查看表結構:

      description tbname;

      也可使用簡寫:

      desc tbname;

      示例如下:

      select count(*) tables ,table_schema from information_schema.tables where table_schema='work_ad' group by table_schema;

      mysql怎樣查詢表的個數(shù)

      推薦學習:mysql視頻教程

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號