add sql demo
This commit is contained in:
parent
236274e8fc
commit
b2fe493a6b
1 changed files with 6 additions and 0 deletions
6
demo/docs/sql.sql
Normal file
6
demo/docs/sql.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
SELECT city, COUNT(id) AS users_count
|
||||
FROM users
|
||||
WHERE group_name = 'salesman'
|
||||
AND created > '2011-05-21'
|
||||
GROUP BY 1
|
||||
ORDER BY 2 DESC
|
||||
Loading…
Add table
Add a link
Reference in a new issue