当前位置:网站首页>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;边栏推荐
- RESTful style (detailed introduction + case implementation)
- Good shooting js game source code
- sql concat() function
- 基于flask商城的管理员功能
- 网络流详解(流网图一般能够反映什么信息)
- 高效代码静态测试工具Klocwork 2022.2——Portal全新升级、支持RLM
- tinymce-plugins
- PGSQL database to realize the import and export
- String concatenation in SQL
- leetcode 504. Base 7 七进制数 (简单)
猜你喜欢
随机推荐
Openlayers Quick Start Tutorial
第48篇-timestamp2参数分析【2022-08-01】
【C语言】手撕循环结构 —— while语句
Basic operations of openGauss database (super detailed)
Wireless vibrating wire acquisition instrument remote modification method
TFRecord简介,原理分析,代码实现?[通俗易懂]
汉源高科千兆12光12电管理型工业以太网交换机 12千兆光12千兆电口宽温环网交换机
leetcode 504. Base 7 七进制数 (简单)
吾爱第三课-修改版权和资源
MFC入门教程(深入浅出MFC)
Set proxy server (Google+IE) "Recommended Collection"
【C语言】函数哪些事儿,你真的get到了吗?(1)
路由-Tab切换页面
"Second Uncle" is popular, do you know the basic elements of "exploding" short videos from the media?
基于flask商城的管理员功能
k8s之KubeSphere部署有状态数据库中间件服务 mysql、redis、mongo
86.(cesium之家)cesium叠加面接收阴影效果(gltf模型)
How to do short video food from the media?5 steps to teach you to get started quickly
SQL Server database generation and execution of SQL scripts
路由-嵌套路由









