当前位置:网站首页>Mysql 基本操作指南之mysql查询语句
Mysql 基本操作指南之mysql查询语句
2022-08-02 13:07:00 【InfoQ】
show database;show tables;create database 数据库名称;select * from 表名;select id,name,price from 表名 order by name,price;select id,name,price from 表名 order by name desc,price;select id,name,price from 表名 order by name desc,price limit 1,3;select id,name,price from 表名 where name=' ';select id,name,price from 表名 where name IS NULL; select id,name,price from 表名 where id IN () order by name;select id,name,price from 表名 where name LIKE '%na%';select name from 表名 where name REGEXP ' 正则表达式 ' order by name;select Concat(Tom,'(',jimmy,')') from table order by name;select pro_name,price*num as total from table where id=1;边栏推荐
猜你喜欢
随机推荐
How to improve the originality of self-media creation and create popular works?
There are several ways to jump to js source code, jump on the current page, jump on the blank page
Good shooting js game source code
我的创作纪念日
Redis全部
二进制中1的个数
Win11怎么修改关机界面颜色?Win11修改关机界面颜色的方法
leetcode 504. Base 7 七进制数 (简单)
First acquaintance of scrapy framework 1
86.(cesium之家)cesium叠加面接收阴影效果(gltf模型)
Set proxy server (Google+IE) "Recommended Collection"
自动生成代码器推荐-code-gen
【C语言】明解数组(1)
php - the first of three solid foundations
PHP+MYSQL [Student Information Management System] (Minimalist Edition)
Intouch System Platform IDE-1
读《IDEO,设计改变一切》有感
.Net 5.0 Quick Start Redis
自媒体创作怎样提高原创度,打造爆款作品?
RESTful style (detailed introduction + case implementation)









