Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 29th, 2013  |  syntax: SQL  |  size: 0.14 KB  |  views: 1,169  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. SELECT * FROM tab T LEFT OUTER JOIN soft_del SD ON T.ID=SD.ID WHERE SD.ID IS NULL
  2.  
  3. -- rowid is inserted into soft_del when a deletion takes place
clone this paste RAW Paste Data