代码
csdn_HJL
这个作者很懒,什么都没留下…
展开
-
Mysql 终端指令操作(二)
四、Mysql-CRUD操作 1、查询数据 (1)查询所有列 select * from 表名; #select * from student; 若表中没有数据,则会提示Empty set。 (2)查询指定列 select 列1,列2,...from 表名; #select name from student; 2、添加数据 (1)全列插入 insert into 表名 values(...); #insert into student(name,age)values('peter',22); 值的原创 2021-10-27 16:36:06 · 130 阅读 · 0 评论 -
求一个五位之内的数字的位数,输出每一位数字,求逆序
求一个五位之内的数字的位数,输出每一位数字,求逆序 #include<stdio.h> int F1(int n) { if(n==0) { return 1; } int count=0; while(n!=0) { count++; n/=10; } printf("%d\n",count); return count; } v...原创 2018-10-17 16:20:03 · 1522 阅读 · 0 评论