简体   繁体   English

从MySQL数据库中的特定行和列中选择信息

[英]Selecting information from specific row and column in MySQL database

I am trying to retrieve the information in a specific cell of a MySQL database. 我正在尝试在MySQL数据库的特定单元中检索信息。 I have Googled around to try and find something regarding this but it only comes up with selecting from just a single row or single column. 我已经四处搜寻,试图找到与此有关的东西,但只能从单行或单列中进行选择。 However I need the information in a specific cell. 但是,我需要特定单元格中的信息。

This is the information I am after in the red box... http://i.imgur.com/5LO1zqV.png 这是我在红色框中关注的信息... http://i.imgur.com/5LO1zqV.png

then you can write like this.select only specific column like: 那么您可以这样编写。仅选择特定列,例如:

    SELECT valist FROM threadfields WHERE valist LIKE "% your identifying value from string %";

these are the basic thing you should look in google or read from w3school: 这些是您应该在google中阅读或从w3school中阅读的基本内容:

http://www.w3schools.com/sql/ it is very good site for beginners. http://www.w3schools.com/sql/对于初学者来说这是一个很好的网站。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM