diff --git a/README.md b/README.md index 0d362cf..fb667de 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ python ====== 学习Python时的代码 + +LearnPython +20150826 \ No newline at end of file diff --git a/Untitled.sql b/Untitled.sql new file mode 100644 index 0000000..f54c2d3 --- /dev/null +++ b/Untitled.sql @@ -0,0 +1,18 @@ +SELECT * FROM Customers +WHERE City LIKE '[bsp]%' + +SELECT Contactname, Address From test.Customers + +CREATE TABLE CustomersTemp +(CustomerID int(2) primary key not null AUTO_INCREMENT, +CustomerName character(36), +ContactName character(200), +Addresss character(47), +City character(26), +Postalcode character(14), +Country charater(11)); + +LOAD DATA LOCAL INFILE '/Users/linma/Documents/cw/W/MySQL/Customers.tsv' +into table test.CustomersTemp +fields terminated by '\t' +ignore 1 rows;