?????????SQL???
???????????? ???????[ 2017/5/24 10:47:42 ] ????????????? SQL
??????????
??????????????create table ‘????’(‘gradeid’ int(11) auto_increment primary key????primary key(‘gradeid’))
??????????create table ‘grade’(‘gradeid’ int(11) auto_increment primary key??’gradename’ varchar(32) not null unique ??unique key ‘gradeid’(‘gradeid’))
???????Unique key ?????????????????????????????????
????????????(index)??create table ‘result’(…index/key ‘ind’(‘studentNo’??’subjectNo’)) ????????
????Alter table ‘result’ add index ‘ind’ (‘studentNo’??’subjectNo’); ?????????
????????create table test(
????A int primary key??B char(5) unique??C int??D int??
????Key ‘index_cd’ (‘c’??’d’)??
?????? Index ‘index_c’(‘c’)
????#primary key(‘a’) #unique key ‘index_b’ (‘b’)
????)???????????????????????????????渭???????????????
?????????????create table ‘student’(…fulltext(‘studentName’)engine=myisam);
????Alter table employee add fulltext(‘first_name’)
???????????????位????????????????myisam??????????????????char??varchar??text??????????????????????
????Select * from test where match(‘studentNmae’) against(‘key’); ???test???????????????studenname?????????????key???????????
?????????????
????Drop index ?????? on ????
????Alter table ???? drop index ??????
????Alter table ???? drop primary key
????????????
????Show index(??keys) from ????
?????????
????Msqldump????????bin????????????????
????Mysqldump -h ?????? -u ????? -p [options] ??????? [table 1 table2 table3] >path/filename.sql
???????纾�????bdqn?????cmd????dos?????????
????mysqldump -u root -p bdqn bdqn category users > d:/sqlbk.sql
????Mysqldump???????
????Mysqldump -help ??????????
????--add-drop-table ????sql????????drop table if exists??????????????????
????--skip-add-drop-table???
????????Mysqldump -uroot -pbdqn –-skip-add-drop-table bdqn category users >d:sqlbk.sql
????--add-locks ????insert????????????lock table??unlock table???
???????????????????蔚??????????????????械??????????????
????-t??--no-create-info ????????????写?????????
????????Mysqldump -uroot -pbdqn –-no-create-info bdqn category users >d:sqlbk.sql
????-c??--complete-insert ?????inseert??????????????????????????????????????????
????????Mysqldump -uroot -pbdqn –c bdqn category users >d:sqlbk.sql
????-d??—no-data ????????????????
????--where ’where-condition’??-w’ where-condition’ ??????????where??????????
????????Mysqldump -uroot -pbdqn –-where ‘studentNo=1’ bdqn student>d:sqlbk.sql
????????????
?????????????source???? source /path/db_name.sql
???????/path/?????路?????????????mysql?????????????????????source??mysql???????????
????????mysql -uroot -pbdqn;
????Use test;
????source d:sqlbk.sql
??????????????mysql????? mysql-u root -p dbname< /path/db_name.sql;
????????mysql -uroot -pbdqn test <d:sqlbk.sql
???????????????????????婕�???????????????????SPASVO小??(021-61079698-8054)?????????????????????????
??????
???????????SQL???SQL??泄????械????????????mysql?????????????SQL??????????????mysql????? distinct?梅?MySQL?薪???????????蟹??Mysql????????????????sql server 2000??????????????MySQL Cluster??未??????????????SQL Server???????????????????位?????PHP??SQL????????????????????????????SQL??????????SQL写?????SQL Server?????????????????????????????Python写???NoSQL????????SQL Server??Azure SQL??

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