Last active
June 18, 2018 15:50
-
-
Save monaxmp/fb6bbc9739ad62ae3fbd267686eb84f7 to your computer and use it in GitHub Desktop.
Revisions
-
monaxmp revised this gist
Jun 18, 2018 . No changes.There are no files selected for viewing
-
monaxmp created this gist
Jun 4, 2018 .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,5 @@ select user_id, profession_id, count(*) from professions group by user_id, profession_id HAVING count(*) > 1;