一、查詢mysql timeout相關的變量值php
SHOW VARIABLES LIKE "%timeout%"html
二、能夠插入部分字段的值(id字段自增)mysql
INSERT into weightTB(date,weightNum) values('2015-03-23 16:30:21','www');sql
三、建立表app
String createTB_sql = "CREATE TABLE "
+ tbName
+ "(date char(255)not null primary key,morningTime char(255),morningWeightNum char(5),nightTime char(255),nightWeightNum char(5));";
四、插入語句url
String date_insert_sql = "INSERT into " + tbName + "(date) values('"
+ strDate + "');";htm
五、條件查詢語句token
String select_sql = "select * from " + tbName + " where date='"
+ strDate + "'";get