Skip to content

Instantly share code, notes, and snippets.

@andrerocker
Created September 8, 2012 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrerocker/3680525 to your computer and use it in GitHub Desktop.
Save andrerocker/3680525 to your computer and use it in GitHub Desktop.
mysql> use rails_girls_sp;
Database changed
mysql> select count(sex) count, sex from persons group by sex;
+--------+------+
| number | sex |
+--------+------+
| 1887 | M |
| 3 | F |
+--------+------+
2 rows in set, 1 warning (0.00 sec)
@andrerocker
Copy link
Author

Pegalandro do Madinha!!! Raaaah!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment