国产亚洲精品福利在线无卡一,国产精久久一区二区三区,亚洲精品无码国模,精品久久久久久无码专区不卡

當(dāng)前位置: 首頁 > news >正文

做響應(yīng)式網(wǎng)站需要學(xué)哪些知識廊坊seo外包公司費用

做響應(yīng)式網(wǎng)站需要學(xué)哪些知識,廊坊seo外包公司費用,淮南論壇網(wǎng),用dw做網(wǎng)站數(shù)據(jù)庫軟件: 關(guān)系型數(shù)據(jù)庫:Mysql Oracle SqlServer Sqlite 非關(guān)系型數(shù)據(jù)庫:Redis NoSQL 1.數(shù)組,鏈表,文件,數(shù)據(jù)庫 數(shù)組,鏈表:內(nèi)存存放數(shù)據(jù)的方式&…

數(shù)據(jù)庫軟件:
關(guān)系型數(shù)據(jù)庫:Mysql? ? ? ? ? ?Oracle? ? ? ? SqlServer? ? ? ? ?Sqlite
非關(guān)系型數(shù)據(jù)庫:Redis? ? ? ?NoSQL

1.數(shù)組,鏈表,文件,數(shù)據(jù)庫

數(shù)組,鏈表:內(nèi)存存放數(shù)據(jù)的方式(代碼運行結(jié)束,關(guān)機數(shù)據(jù)丟失)
文件,數(shù)據(jù)庫:外存存放數(shù)據(jù)的方式(代碼運行結(jié)束,關(guān)機數(shù)據(jù)不會丟失)

文件:數(shù)據(jù)量很小,處理效率很低}
數(shù)據(jù)庫:數(shù)據(jù)量很大 , 處理數(shù)據(jù)(增刪改查)效率高

2.安裝sqlite數(shù)據(jù)庫:

? ? 1.讓虛擬機能夠上網(wǎng)
? ? 2.apt-get工具集配置好
? ? 3.sudo apt-get install sqlite3?
? ? 4.啟動sqlite3?
? ? ? ? sqlite3?
? ? 5.輸入.quit退出

3.SQL命令:

? ? 1. .headers on/off 打開/關(guān)閉 數(shù)據(jù)庫中列名稱
? ? 2. .mode csv/column/html/insert/line/list/tabs/tcl?
? ? 3. .schema 表名稱 ? 查看表名稱對應(yīng)的表的格式(有哪幾列?每一列類型?)
? ? 4. .width 寬度 ? ? ?設(shè)置顯示時的數(shù)據(jù)寬度?
? ? 5..tables ? ? ? ? ?查看數(shù)據(jù)庫文件中的所有表
?

4.SQL語言(所有的數(shù)據(jù)庫都支持這種語言)

據(jù)的:增、刪、改、查

? ? 1.使用sqlite3打開數(shù)據(jù)庫文件?
? ? ? sqlite3 數(shù)據(jù)庫文件名
? ? ? sqlite3 ./student.db?


? ? 2.創(chuàng)建表?
? ? ? create table?
? ? ??
? ? ? 示例:
? ? ? ? sqlite> create table student (id integer, name varchar(255), sex varchar(32), age integer, score integer);

? ? 3.插入數(shù)據(jù)
? ? ? insert into?

? ? ? 示例:
? ? ? ? sqlite> insert into student values (1001, "張三", "男", 19, 80);
? ? ? ? sqlite> insert into student (id, name, score) values (1002, "李四", 100);
? ? ? ? sqlite> insert into student values (1002, "王二", "女", 18, NULL);

4.查找數(shù)據(jù)
? ? ? select?

? ? ? select * from 加 名字? ?---? 查看名字列表所有內(nèi)容
? ? ??select * from 列表名?where 指定列表?= "指定內(nèi)容? and? 指定列表 = “指定內(nèi)容"? ? ---? ?篩選內(nèi)容打印
? ? ? select *from 列表名?where 指定列?like “%大致內(nèi)容%”? ---? 查看包含指定內(nèi)容的列

? ? ? 示例:
? ? ? ? sqlite> select * from student;
? ? ? ? sqlite> select name, score from student;

? ? 5.內(nèi)容匹配
? ? ? where?

? ? ? 示例:
? ? ? ? sqlite> select * from student where name like "%張%";

.mode column? ? ---? ?讓內(nèi)容對齊
.headers on? ? ---? 顯示表頭
.width? ?---? 設(shè)置每個內(nèi)容的寬度

6.主鍵:
? ? ? ? key:鍵值?
? ? ? ? 內(nèi)鍵:在表中唯一標(biāo)識一條數(shù)據(jù)稱為內(nèi)鍵
? ? ? ? 外鍵:與外部表進(jìn)行標(biāo)識的數(shù)據(jù)稱為外鍵?
示例:creat tables 列表名 (id integer primary key asc) ---? 以不能重復(fù)命名的方式進(jìn)行自增

?7.刪除
? ? ? ? delete from?

? ? ? ? 示例:
? ? ? ? ? ? delete from student where name="李四";

8.修改
? ? ? ? update?

? ? ? ? 示例:
? ? ? ? ? ? update student set sex="男",age=19 where name="王二";

9.排序
? ? ? ? order by?

? ? ? ? 示例:
? ? ? ? ? ? select * from order_manager order by ordertime desc;

多表聯(lián)合查詢:
? ? 1.交叉連接
? ? ? ? cross join?

? ? ? ? 示例:
? ? ? ? sqlite> select student.name as 學(xué)生姓名, lesson.name as 課程名
? ? ? ? ...> from student cross join lesson;
? ? 2.內(nèi)連接
? ? ? ? inner join?

? ? ? ? 示例:
? ? ? ? sqlite> select score.id as 成績編號, student.name as 學(xué)生姓名, score.score as 成績
? ? ? ? ...> from score inner join student on score.stuid=student.id;
? ? 3.外連接
? ? ? ? outer join?

? ? ? ? 示例:
? ? ? ? sqlite> select score.id as 成績編號, student.name as 學(xué)生姓名, score.score as 成績
? ? ? ? ...> from student left outer join score on score.stuid=student.id;


? ? 示例:
? ? ? ? sqlite> select score.id as 成績編號, student.name as 學(xué)生姓名, score.score as 成績
? ? ? ? ...> from student left outer join score on score.stuid=student.id
? ? ? ? ...> where name="張三"
? ? ? ? ...> order by 成績 desc;
?

http://aloenet.com.cn/news/29432.html

相關(guān)文章:

  • 免費個人網(wǎng)站注冊黑馬程序員培訓(xùn)機構(gòu)官網(wǎng)
  • 邢臺手機網(wǎng)站建設(shè)費用武漢seo培訓(xùn)
  • 網(wǎng)站換新的空間域名解析怎么做愛站網(wǎng)長尾關(guān)鍵詞挖掘工具下載
  • 中裝建設(shè)重組消息搜索引擎優(yōu)化的主要特征
  • 上海公司注冊代辦一般多少錢優(yōu)化推廣
  • 網(wǎng)站如何運營主流搜索引擎有哪些
  • wordpress 如何開發(fā)seo網(wǎng)站建設(shè)公司
  • 網(wǎng)站分站開發(fā)計劃書網(wǎng)絡(luò)營銷網(wǎng)站推廣方案
  • 網(wǎng)站的關(guān)鍵詞在哪設(shè)置西安核心關(guān)鍵詞排名
  • 建設(shè)網(wǎng)站市場細(xì)分高級搜索指令
  • 山東省品牌建設(shè)促進(jìn)會網(wǎng)站橘子seo歷史查詢
  • 商城網(wǎng)站怎么做推廣網(wǎng)站廣告調(diào)詞軟件
  • 找人做網(wǎng)站需要交接什么免費網(wǎng)絡(luò)營銷軟件
  • 紅頁網(wǎng)站如何做旅游最新資訊 新聞
  • cms建站系統(tǒng)安裝手機上可以創(chuàng)建網(wǎng)站嗎
  • 寧波方正建設(shè)監(jiān)理網(wǎng)站中國沒有限制的搜索引擎
  • wordpress寫作工具長沙seo優(yōu)化首選
  • 青島網(wǎng)站建設(shè)首選瀏覽器網(wǎng)站大全
  • 網(wǎng)站建站查詢最近的重大新聞
  • WordPress評論博主網(wǎng)站手機優(yōu)化
  • 網(wǎng)站策劃書我與音樂除了百度指數(shù)還有哪些指數(shù)
  • 160 作者 網(wǎng)站建設(shè) amp網(wǎng)絡(luò)推廣平臺都有哪些
  • 做設(shè)計需要素材的常用網(wǎng)站有哪些只要做好關(guān)鍵詞優(yōu)化
  • 網(wǎng)站html地圖怎么做的推廣業(yè)務(wù)平臺
  • 做機械設(shè)計的網(wǎng)站青島網(wǎng)站seo
  • 小學(xué)六年級做的網(wǎng)站外包網(wǎng)站有哪些
  • 騰訊域名怎么做網(wǎng)站網(wǎng)絡(luò)推廣深圳有效渠道
  • 傳媒公司網(wǎng)站模板windows優(yōu)化大師怎么徹底刪除
  • 網(wǎng)站建設(shè) 在線購買企業(yè)網(wǎng)絡(luò)營銷方案
  • 我想注冊一個做門窗的網(wǎng)站應(yīng)該怎樣做網(wǎng)站如何推廣運營