D
D
Denis Sokolov2021-07-09 17:08:55
SQL
Denis Sokolov, 2021-07-09 17:08:55

SQL if there is no data in the table?

If there is no data in the table that I am looking for, then just do not perform this check.

SELECT * FROM service.ads, service.users, service.ads_photos
WHERE ad_id = 126 AND user_id = ad_creator AND ad_ad_id = 126

in the last check where ad_ad_id = 126 how to do this if there is no such value in this table, then just so that it is not processed

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