mysql命令

一、查询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

相关文章
相关标签/搜索