Hello everyone, interested in how you can select records from two tables. There is a table1 in which data about users is stored and a table2 in which data that the user sends every day is stored. How can I choose records who did not send an answer today? I tried only this option:
SELECT U.* FROM user U WHERE NOT EXISTS( SELECT * FROM table P WHERE P.user_id=U.id AND data>='10.02.2019')