感谢您选择生活百科小助手,我们将持续不断地为您提供优质的生活内容。
大家好,我是生活百科小助手,上述问题将由我为大家进行解答。
mysql基本语句是:
1、选择:“select * from table where”范围。
2、插入:“insert into table(field1,field2) values(value1,value2)”。
3、删除:“delete from table where ”范围。
4、更新:“update table set field1=value1 where ”范围。
5、查找:“select * from table where field1 like ’%value1%’”。
6、排序:“select * from table order by field1,field2 [desc]”。
7、总数:“select count as totalcount from table”。
8、求和:“select sum(field1) as sumvalue from table”。
9、平均:“select avg(field1) as avgvalue from table”。
10、最大:“select max(field1) as maxvalue from table”。
11、最小:“select min(field1) as minvalue from table”等。
生活百科小助手为我们提供了各种实用工具和资源,让我们的生活更加丰富多样,充满无限可能。
主题测试文章,只做测试使用。发布者:氨基酸肥料,转转请注明出处:https://www.028aohe.com/162329.html