mysql数据库基础
mengy_0227
这个作者很懒,什么都没留下…
展开
-
mysql 基础操作
CREATE PROCEDURE pro_luckdraw_user_info() begin declare num int; set num=1; while num <= 24 do insert into pro_luckdraw_user_info(pro_luckdraw_user_info_id,account_id,user_id,amount,total_num,use_n...原创 2019-03-11 18:17:37 · 149 阅读 · 0 评论 -
数据库分表存储查询
select * from (select * from credit.credit_repayment_0 where borrow_account_id =‘154201911650900104’ UNION select * from credit.credit_repayment_1 where borrow_account_id =‘154201911650900104’ UNION s...原创 2019-03-11 18:19:07 · 251 阅读 · 0 评论 -
redis 存储数据库使用简介
Redis Keys 命令用于查找所有符合给定模式 pattern 的 key *通配符。该通配符表示所有的意思。如:keys * 匹配数据库中所有 key 。 ?通配符。表示一个任意字符。如:keys h?llo 命令匹配 hello , hallo 和 hxllo 等。 通配符。表示任何字符。如:keys hllo 表示任何一h开头,llo结尾的key,如匹配 hllo 和 heeeeello...原创 2019-03-12 14:52:32 · 98 阅读 · 0 评论 -
mysql 数据库基础查询操作命令
查询命令集合 - 数据库基础查询 -以单表数据查询所有数据 select * from table; //查询表中所有信息 select id from table; select id ,name from table; // 查询表中指定的字段查询 - 数据库条件查询 -以某些数据作为条件进行查询符合条件的数据 select * from table where 条件字段=‘需要检索条件’; ...原创 2019-03-26 12:47:11 · 246 阅读 · 0 评论