Initial API
This commit is contained in:
parent
ce518aeeb5
commit
b7d8f14eb4
3 changed files with 140 additions and 3 deletions
|
@ -1,2 +1,5 @@
|
|||
CREATE VIEW requests_vw AS
|
||||
SELECT * FROM requests WHERE state = 'Requested' ORDER BY score DESC;
|
||||
SELECT * FROM requests WHERE state = 'Requested' ORDER BY score DESC, id DESC;
|
||||
|
||||
CREATE VIEW requests_all_vw AS
|
||||
SELECT * FROM requests ORDER BY id DESC;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue