Advertisement
Guest User

sql

a guest
Aug 29th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.22 KB | None | 0 0
  1. SELECT Dictionary.code, COUNT( Message.Message )
  2. FROM Dictionary, Message
  3. WHERE (Message.SysId = Dictionary.SysId
  4. AND Dictionary.code =  "SYSTEM_OUT")
  5. OR (Message.SysId = Dictionary.SysId
  6. AND Dictionary.code =  "SYSTEM_IN")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement