???????????
???????????? ???????[ 2016/10/18 9:54:33 ] ????????????? ??????
??????3??????????
?????????????????????????????п??????????????????????????????????
????CREATE TABLE mytable( ID INT NOT NULL?? username VARCHAR(16) NOT NULL??
????PRIMARY KEY(ID) );
?????????????? ALTER ???????????????????????????
??????4?????????
??????????????????????????????????????????Σ?
????CREATE TABLE mytable( ID INT NOT NULL?? username VARCHAR(16) NOT NULL??
????city VARCHAR(50) NOT NULL?? age INT NOT NULL );
?????????????MySQL??Ч??????????????????????? name?? city?? age?????????????
????ALTER TABLE mytable ADD INDEX name_city_age (name(10)??city??age);
???????????usernname????? 16????????
????10??????????????????????????????10???????????????????????????????????????С?????INSERT?????????
????????????
????usernname??city??age?????????????????????3???????????????????????????????Ч?????????????????????????????????????????????????????MySQL?????????е????????????????Ч????????????
???????????????????????????????????????????????????????
????usernname??city??age usernname??city usernname ??????
????city??age???????????????????????MySQL???????“????”??????????????????????????????????????????????е?????????????????????????????SQL?????????????????
????SELECT * FROM mytable WHREE username="admin" AND city="???" SELECT * FROM
????mytable WHREE username="admin"
?????????漸???????????
????SELECT * FROM mytable WHREE age=20 AND city="???" SELECT * FROM mytable WHREE
????city="???"
??????5???????????????
??????????????????????????????????????????????????????????????????????WHERE??JOIN?г??????????????????????????????????MySQL???<??<=??=??>??>=??BETWEEN??IN??????Щ????LIKE???????????????磺
????SELECT t.Name FROM mytable t LEFT JOIN mytable m ON t.Name=m.username
????WHERE m.age=20 AND m.city='???'
????????????city??age??????????????mytable???userame?????????JOIN????У???ж?????????????????
?????????????Щ????LIKE???軌???????????????????%??_???????????MySQL??????????????????????????????
????SELECT * FROM mytable WHERE username like'admin%'
???????????????
????SELECT * FROM mytable WHEREt Name like'%admin'
?????????????LIKE??????????????
??????6??????????????
???????涼????????????????????????????????????????á????????????????????
????????????????????????????????????±?????????????INSERT??UPDATE??DELETE????????±????MySQL?????????????????????????????????
??????????????????????????????????????????????????????????????????????????????????????????????????????
??????????????Ч?????????????????MySQL?д????????????????????о????????????????????????
??????7??????????????????
?????????????????????Щ????????????
???????????????????NULL?????
?????????а?????NULL????????????????????У?????????????????к???NULL??????????ж???????????????Ч?????????????????????????????ε??????NULL??
??????????????
????????н???????????????????????????????????磬????????CHAR(255)???У???????10????20???????????????Ω?????????????????н??????????????????????????????????????????????I/O??????
????????????????
????MySQL??????????????????????where?????????????????????????order
????by?е???????????????????????????????????????????????2?????????????????????????????е????????????????Щ?д?????????????
??????like??????
???????????2????????like?????????????ò????????????????????like “%aaa%” ?????????????like
????“aaa%”?????????????
?????????????????????
????select * from users where YEAR(adddate)<2007;
?????????????????????????????????Ч???????????裬????????????
????select * from users where adddate<‘2007-01-01’;
??????????NOT IN??<>????
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
?????????????????????????Щ????????????????????TC???????????????Щ???????????????????????????????????????????????(java .net ?????)???mysql???????????????????ж????д???Python???????????????(DB2)??????BufferPool????????????????????????????????6??????????????????滮???????????????-????????SQL Server???????????????????λ?????PHP??SQL????????????????????Pythonд???NoSQL????????? SQL ?е????????????? SQL ?е?????????Java???????:?????MySQL???????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????