Y
Y
yefenat2020-10-06 10:26:38
Laravel
yefenat, 2020-10-06 10:26:38

How to get values ​​that are in another table?

I have 2 tables:

1. systems -> id, name
2. keys -> id, system_id

And such a question, how to get records from the table: systems, if id is in the table: keys -> system_id, and also: name in the systems table is not equal to: test1 and test2.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question