drop database if exists school; // 如果存在school则删除create database school; // 建立库schooluse school; // 打开库SCHOOLcreate table teacher( // 建立表TEACHER id int...
分类:
数据库 时间:
2016-01-24 14:10:27
阅读次数:
192
1 create database school; 2 3 create table Student #学生表 4 ( 5 SNO char(3) not null primary key, #学号(主码) 6 Sname char(8) not null , #学生...
分类:
数据库 时间:
2016-01-20 22:23:33
阅读次数:
220
面向对象编程简单来说就是基于对类和对象的使用,所有的代码都是通过类和对象来实现的编程就是面向对象编程!面向对象的三大特性:封装、继承、多态首先创建一个类#使用class创建一个School类,类中有个student方法class School: def student(self): ...
分类:
编程语言 时间:
2016-01-17 16:10:57
阅读次数:
235
Variable with modifierDescription%~IExpands %I which removes any surrounding quotation marks ("").%~fIExpands %I to a fully qualified path name.%~dIEx...
分类:
其他好文 时间:
2016-01-08 23:39:29
阅读次数:
193
github:https://github.com/google/gsonAPI:http://google.github.io/gson/apidocs/示例对象 1 package present; 2 3 public class School { 4 private int id;...
分类:
Web程序 时间:
2016-01-05 12:19:12
阅读次数:
216
1. cmd连接数据库mysql -hlocalhost -uroot -p123 // mysql -uroot (因为我是本地,并且没有设置密码)2. 重命名数据表和移动数据表mysql里面有:数据库samp_db,其下有数据表students,teachers。现在我要把表移动到school_...
分类:
数据库 时间:
2016-01-03 14:47:32
阅读次数:
137
enum package cn.jiemoxiaodi_enum; public class School { public static School s1=new School("北1京", "1sdfds"); public static School s2=new School("北京2",...
分类:
其他好文 时间:
2015-12-31 01:37:10
阅读次数:
158
A group of two or more people wants to meet and minimize the total travel distance. You are given a 2D grid of values 0 or 1, where each 1 marks the h...
分类:
其他好文 时间:
2015-12-28 14:01:28
阅读次数:
130
通过代码创建了索引名称为demoindex,索引类型为school,以下是索引类型的数据映射结构:{ "state": "open", "settings": { "index.number_of_replicas": "1", "index.number_o...
分类:
其他好文 时间:
2015-12-25 22:24:55
阅读次数:
1876
一个 URL 大概包含的部分:scheme://host:port/path?#hash比如一个 URL 为 http://www.xxx.com:8888/school/student.html,那么 http就是 scheme,www.xxx.com 就是 host,8888 就是 port,什...
分类:
Web程序 时间:
2015-12-25 17:15:46
阅读次数:
125