我在一列中有14个状态如何根据不同的14个状态选择数据 [英] i have 14 states in one column how to select data on the basis of different 14 states
本文介绍了我在一列中有14个状态如何根据不同的14个状态选择数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在一列中有14个状态如何根据不同的14个状态选择数据
i have 14 states in one column how to select data on the basis of different 14 states
推荐答案
假设表名是statetable而列名是statename
Assuming the table name is statetable and the column name is statename
SELECT * FROM statetable WHERE statename IN ('California', 'New York')
了解更多:< a href =http://www.w3schools.com/sql/> SQL教程 [ ^ ]
这篇关于我在一列中有14个状态如何根据不同的14个状态选择数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文