posts - 45,comments - 0,views - 4785
12 2022 档案
简易计算器
摘要:简易计算器 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link href="css/js.css" rel="stylesheet" type="text/css" /> <script type="t 阅读全文
posted @ 2022-12-29 22:56 小贤看世界 阅读(111) 评论(0) 推荐(0) 编辑
HTML
摘要:ss <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>form</title> </head> <body> <!-- action:提交位置 --> <!-- method:提交方式 get:提交到地址的数据,会在浏览器上的地 阅读全文
posted @ 2022-12-24 19:26 小贤看世界 阅读(289) 评论(0) 推荐(0) 编辑
HashSet源码解读
摘要:HashSet(HashMap)源码解读 public class Demo5 { final V putVal(int hash, K key, V value, boolean onlyIfAbsent, boolean evict) { Node<K,V>[] tab; Node<K,V> p 阅读全文
posted @ 2022-12-19 16:50 小贤看世界 阅读(20) 评论(0) 推荐(0) 编辑
自行封装JDBCUtils
摘要:自己封装JDBCUtils package com.javasm.util; import com.javasm.bean.Emp; import com.javasm.constants.JDBCConstants; import java.lang.reflect.InvocationTarge 阅读全文
posted @ 2022-12-14 20:40 小贤看世界 阅读(26) 评论(0) 推荐(0) 编辑
DBUtils
摘要:JDBCUtils,使用DBUtils,写一个JDBCConstants类,装user,pwd,url package com.javasm.util; import com.javasm.constants.JDBCConstants; import org.apache.commons.dbut 阅读全文
posted @ 2022-12-14 19:31 小贤看世界 阅读(26) 评论(0) 推荐(0) 编辑
(粗糙版)DeptDao,Service
摘要:DeptDao package com.javasm.dao; import com.javasm.bean.Dept; import com.javasm.util.JDBCUtils; import java.sql.*; import java.util.ArrayList; import j 阅读全文
posted @ 2022-12-12 22:09 小贤看世界 阅读(26) 评论(0) 推荐(0) 编辑
子查询
摘要:-- 子查询 -- 先根据"汤姆"查询出对应的部门编号! select dept_id from tb_emp where emp_name = '汤姆'; -- 在部门信息表,根据部门编号查询部门名称! select dept_name from tb_dept where dept_id = 1 阅读全文
posted @ 2022-12-09 17:11 小贤看世界 阅读(19) 评论(0) 推荐(0) 编辑
部门mysql操作
摘要:use test_db; -- 删除表 drop table if exists t1_profit; drop table if exists t1_salgrade; drop table if exists t1_emp; drop table if exists t1_dept; -- 部门 阅读全文
posted @ 2022-12-09 16:23 小贤看世界 阅读(38) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示