gpt4 book ai didi

mysql - 数据库中的三列条件

转载 作者:搜寻专家 更新时间:2023-10-30 23:39:20 25 4
gpt4 key购买 nike

是否可以在数据库中获取3个列名作为条件?

例如:

SELECT * FROM table WHERE column1=value1, column2=value2, column3=value3

最佳答案

从句和子句

 SELECT * FROM table 
WHERE column1=value1
and column2=value2
and column3=value3;

关于mysql - 数据库中的三列条件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36988623/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com