M
M
manfi312018-03-01 20:18:13
MySQL
manfi31, 2018-03-01 20:18:13

How to display everything in mysqli except for example id 5?

So you need to display everything from the base except id 7 , how to do this, help.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ilya Bobkov, 2018-03-01
@manfi31

SELECT * FROM table WHERE id != 7

L
longclaps, 2018-03-01
@longclaps

SELECT все с базы кроме id 7;

A
Alexander Tolerant, 2018-03-02
@mres

SELECT * FROM table WHERE id NOT IN(7,...)

S
SagePtr, 2018-03-01
@SagePtr

WHERE id <> 7 add to query

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question