mysql查询语句

来源:互联网 发布:安徽网络作家协会 编辑:程序博客网 时间:2024/06/10 02:14

1.like
select * from product_categroy where product_categroy.product_brand like ‘%魅族%’;

2.in 批量查询
select * from brand_model where barnd_id in ‘2018,291,2019’;

3.delete 删除
delete from brand_model where brand_id=’2019’;

4.update更新
update product set product_name=’西瓜’ where product_id=’7474’;

5.提醒一下,数据展示可能有翻页,没看到多尴尬!

在MySQL中编辑完查询语句,ctrl+S后可以保存查询语句!

数据库操作直接增删改查,之后记得应用即可。
这里写图片描述

能够兼容orcal的navicat

配置环境

选择路径

配置服务器信息