欢迎来到牛牛题库网 牛牛题库官网
logo
全部科目 > 大学试题 > 计算机科学 > 数据库与脚本技术理论

单项选择题

已知数据库ds库中有phones表,表中包含Brand(品牌),model(型号),colour(颜色)等字段,请查询表中品牌为“华为”,型号为“P20”的相关信息,以下SQL语句操作正确的是()。

A.select * from ds.phones where Brand="华为"and model="P20"
B.select * from ds.phones where Brand="华为"or model="P20"
C.select * from ds.phones where having"华为"and"P20"
D.select * from ds.phones where having"华为"or"P20"

点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题