Last active
May 6, 2024 05:50
-
-
Save nopresnik/090780f09d8cc49cfbdfbb317d833fa8 to your computer and use it in GitHub Desktop.
Revisions
-
nopresnik revised this gist
May 6, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ SELECT o.Name AS 'OrganisationName', u.EmailAddress, u.FirstName, u.LastName, u.Status, u.CreatedAt FROM User u LEFT JOIN Organisation_User ou ON u.Id = ou.UserId LEFT JOIN Organisation o ON ou.OrganisationId = o.Id -
nopresnik renamed this gist
May 6, 2024 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
nopresnik created this gist
May 6, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ SELECT o.Name, u.EmailAddress, u.FirstName, u.LastName, u.Status, u.CreatedAt FROM User u LEFT JOIN Organisation_User ou ON u.Id = ou.UserId LEFT JOIN Organisation o ON ou.OrganisationId = o.Id WHERE ou.OrganisationId = 'RbVYBJSsqsRksbHC' AND u.Password IS NULL