<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>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC] ## 連接 數據庫 ``` psql -d dbname -U user -W // or psql -h host -p port -d dbname -U user -W ``` ## 常用命令 ### 列出所有的數據庫 ``` \l // or \l ``` ### 進入數據庫 ``` \c web_db ``` ### 列出數據庫中的表 ``` \dt // or \dt+ ``` ### 查看表結構 ``` \d table_name ``` ### 開啟查詢執行時間 ``` \timing select * from product; ``` ### 查看命令歷史 ``` \s ``` ### 語法幫助 ``` \h sql_command ``` 如 ``` \h select ``` ### 從文件中執行 psql 命令 ``` \i filename ``` 如 ``` \i C:/data/my.sql ``` ### 查詢數據 ``` > \x > select * from product; -[ RECORD 1 ]+------------------------------------------------------------- id | 2 product_name | Shirt B attributes | "Color"=>"White", "Style"=>"Business", "Season"=>"Spring" -[ RECORD 2 ]+------------------------------------------------------------- id | 1 product_name | Computer A attributes | "CPU"=>"2.5", "Disk"=>"1T", "Brand"=>"Dell", "Memory"=>"16G" ```
                  <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>

                              哎呀哎呀视频在线观看