Skip to content

Instantly share code, notes, and snippets.

@nikolasd
Last active October 23, 2018 13:38
Show Gist options
  • Save nikolasd/abcb8b6e777c70e0d0c66683082bdc66 to your computer and use it in GitHub Desktop.
Save nikolasd/abcb8b6e777c70e0d0c66683082bdc66 to your computer and use it in GitHub Desktop.
Pylon SQL - Εύρεση Σειρών με συγκεκριμένο εισπρακτικό
SELECT
hedocseries.hecode DocCode,
hedocseries.heshortcut DocShortcut,
hedocseries.hename DocName,
hedocseries.heactive DocActive,
payment.hecode PayCode,
payment.heshortcut PayShortcut,
payment.hename PayName,
payment.heactive payActive
FROM hedocseries
INNER JOIN hedocseries payment
ON payment.heid = hedocseries.heRecPayDcsrID
WHERE payment.hecode = 'ΕΙΣΠ'
OR payment.heshortcut = 'ΕΙΣΠ'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment