|
|
QSTR SELECT season_id FROM season where is_closed='N'
|
|
|
|
QSTR SELECT season_id, name FROM season WHERE is_closed='Y'
|
QSTR SELECT DISTINCT competition_id FROM league_draft WHERE finished='N' ORDER BY order_num ASC
QSTR SELECT DISTINCT competition_id FROM league_draft WHERE finished='N' ORDER BY order_num ASC
QSTR SELECT * FROM league_draft WHERE user_id=-1 AND finished='N'
QSTR SELECT user_id FROM league_draft WHERE finished='N' ORDER BY order_num ASC LIMIT 1
QSTR SELECT order_num FROM league_draft WHERE finished='N' ORDER BY order_num ASC LIMIT 1
|
|
|
|
|