Answer the question
In order to leave comments, you need to log in
Outputting data from the first database table that is not in another, related table?
There is a query to the database
which, from one table, selects values that are not in another table:
SELECT * FROM parameters
WHERE NOT EXISTS
(
SELECT * FROM userparam
WHERE userparam.parameters_id = parameters.id
AND userparam.user_id = 42
);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question