一般学习的java基础,然后学习前端,之后学习后端核心知识点,然后就是框架,那么学习的框架就是那个spring全家桶,之后会有springboot,然后学习那个消息队列和微服务,还有数据库
数据库有俩种,一种是关系型的:mysql,基本的语句增删改查 增 1)插入单行
insert [into] <表名> (列名) values (列值)
例:insert into t_table (name,sex,birthday) values (‘开心朋朋’,‘男’,‘1980/6/15’) 2)将现有表数据添加到一个已有表 insert into <已有的新表> (列名) select <原表列名> from <原表名>
例:insert into t_table (‘姓名’,‘地址’,‘电子邮件’)
select name,address,email from t_table
3)直接拿现有表数据创建一个新表并填充 select <新建表列名> into <新建表名> from <源表名>例:select name,address,email into t_table from strde Oracle,一种是非关系型的redics 删 1)删除<满足条件的>行 delete from <表名> [where <删除条件>]。
例:delete from t_table where name=‘开心朋朋’(删除表t_table中列值为开心朋朋的行)
2)删除整个表 truncate table <表名>
truncate table tongxunlu 注意:删除表的所有行,但表的结构、列、约束、索引等不会被删除;不能用语有外建约束引用的表 update <表名> set <列名=更新值> [where <更新条件】 改 update <表名> set <列名=更新值> [where <更新条件>] 例:update t_table set age=18 where name='蓝色小名 查 1)精确(条件)查询 select <列名> from <表名> [where <查询条件表达试>] [order by <排序的列名>[asc或desc]]2)查询所有数据行和列。例:select * from a说明:查询a表中所有行和列3)使用like进行模糊查询注意:like运算副只用于字符串,所以仅与char和varchar数据类型联合使用例:select * from a where name like '赵%'说明:查询显示表a中,name字段第一个字为赵的记录4)使用between在某个范围内进行查询例:select * from a where nianling between 18 and 20说明:查询显示表a中nianling在18到20之间的记录5)使用in在列举值内进行查询例:select name from a where address in (‘北京’,‘上海’,‘唐山’)说明:查询表a中address值为北京或者上海或者唐山的记录,显示name字段