简体   繁体   English

如何在没有一条记录的情况下显示表中的所有值

[英]How to to display all value from table without one record MySQL

我有一个表“ number”,其中包含值1,2,3,4,5,6,7,8,9,10如何显示表“ number”中的所有数据而不显示包含值6的数据

select * from number where Column_X <> 6 

let those values 1, 2, ... are under the column named as data 让这些值1、2,...位于名为data的列下

then the select query is 那么选择查询是

SELECT * FROM number WHERE data != 6;

暂无
暂无

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

相关问题 如何在MySQL中将所有记录从一个表插入到另一个表 - How to INSERT all record from one table to another in mysql php:对于一个mysql表中的每个记录,显示第二个表中的所有记录 - php: for each record in one mysql table, display all the records from a 2nd table 如何使用join编写mysql查询,如果删除了一个表中的记录,仍会显示部分信息? - how to write mysql query with join and still display partial info if a record from one table is deleted? MySQL UNION ALL仅从每个表返回一条记录 - MySQL UNION ALL only returns one record from each table 显示mysql中所有选中复选框的值,并将其显示在表中 - Display the value of all checked checkboxes from mysql and display it in table 当相关记录在MySQL中包含给定值时,如何从联接表中提取所有数据? - How do you pull all data from a joined table when a related record contains a given value in MySQL? MySQL:如何从一个表中选择和显示所有行,并计算另一个表中where子句的总和? - MySQL: How to select and display ALL rows from one table, and calculate the sum of a where clause on another table? 我想连接数据并显示一个表中的所有记录和另一个表中的一个记录 - I want to join data and display all records from one table and just one record from another table 如何在php中显示一个到多个mysql表的记录? - How to display record from one to many mysql tables in php? 从另一个表上的另一个记录更新表记录中的所有值而不映射 - Update all value in a record of table from another record on another table without mapping
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM