SQL find out if record not exists comparing two table sql - Net-Raft.com

Welcome aboard! We are happy you are here and wish you good net-raft!




Just a Web Code Solution
join us

How to find out if the record not exists comparing two table using sql ?


 71

SQL


0

SELECT ID_order from orders
WHERE NOT EXISTS (SELECT * FROM products WHERE products.ID_order = orders.ID_order)


By        
The power of the user (%)
14%



The most helpful SQL solutions

how to execute select into using sql ?how to execute select into using sql ?SQL

Click to see more ...

  621     53

convert string to date sqlconvert string to date sqlSQL

Click to see more ...

  530     42

How to get the last record from table using sql ?How to get the last record from table using sql ?SQL

Click to see more ...

  456     33

create table sqlcreate table sqlSQL

Click to see more ...

  229     23

How use like using sql ?How use like using sql ?SQL

Click to see more ...

  306     22

How to get the last 10 records using mysql ?How to get the last 10 records using mysql ?SQL

Click to see more ...

  200     21

rows to columns sqlrows to columns sqlSQL

Click to see more ...

  156     17

insert new column into table sqlinsert new column into table sqlSQL

Click to see more ...

  155     16

How to convert the values to lowercase using sql ?How to convert the values to lowercase using sql ?SQL

Click to see more ...

  166     13

How to change a negative number to positive using sql ?How to change a negative number to positive using sql ?SQL

Click to see more ...

  117     11

Welcome aboard!
We are happy you are here and
wish you good net-raft!