SQL Left Join Omit Rows Found -


i have 2 tables 1 list transactions , 1 list cancelled. how show transactions not cancelled , omit cancelled ones?

enter image description here

i want show transactions not cancelled, in case transaction transaction_id = 1.

select *  transaction_table  transaction_id not in (     select transaction_id      canceled_table); 

however, looking @ example suggest add field "canceled" transaction_table instead of using seperate table.


Comments

Popular posts from this blog

c - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -