Good afternoon, is it possible to display fields from the table and ignore any of them? For example,

$res = mysql_query("SELECT * FROM Таблица"); 

We display all fields, now I want it to display all fields, except for those values ​​where id = 1 or id = 2, etc.

    2 answers 2

     SELECT * FROM Таблица WHERE id<>1 or id<>2 
    • Button "Accept the answer" for this is :) Not at all! - DemoS

    IMHO, so beautiful, more convenient and clearer

     SELECT * FROM `table` WHERE id NOT IN(1,2)