摘要: mysql-> select * from mysql_test.cust -> where cust_sex='M'; mysql-> select * from mysql_test.cust -> where cust_id between 903 and 912; mysql-> selec 阅读全文
posted @ 2020-07-27 22:14 吾爱开发~ 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 数据定义语言(DDL) create:创建数据库或数据库对象 alter:改变数据库或数据库对象 drop:删除数据库或数据库对象 数据操纵语言(DML) select:从表或视图中检索数据 insert:将数据插入到表或视图中 update:修改表或视图的数据 delete:从表或视图中删除数据 阅读全文
posted @ 2020-07-26 19:26 吾爱开发~ 阅读(92) 评论(0) 推荐(0) 编辑
摘要: C:\Users\aaa>mysql -u User -p 123456 mysql> show databases; mysql> use mysql_test; mysql> create table customers -> ( -> cust_id int not null auto_inc 阅读全文
posted @ 2020-07-26 18:39 吾爱开发~ 阅读(125) 评论(0) 推荐(0) 编辑
摘要: mysql> insert into mysql_test.cust -> values(901,'张三','F','北京市','朝阳区'); mysql> select * from mysql_test.cust; mysql> insert into mysql_test.cust -> va 阅读全文
posted @ 2020-07-26 18:38 吾爱开发~ 阅读(100) 评论(0) 推荐(0) 编辑
摘要: package com.lsx.base;public class MyException extends Exception { private int detail; public MyException(int detail) { this.detail = detail; } @Overri 阅读全文
posted @ 2020-07-21 17:49 吾爱开发~ 阅读(167) 评论(0) 推荐(0) 编辑
摘要: public static int[] sort(int[] arrays) { int temp = 0; //外层循环,判断我们这个要走多少次 for (int i = 0; i < arrays.length - 1; i++) { boolean flag = false; //内层循环,比 阅读全文
posted @ 2020-07-20 14:55 吾爱开发~ 阅读(96) 评论(0) 推荐(0) 编辑