SQL検索画面 | SQLによりライブラリを様々な条件で検索します。 |
ジャンルが'ROCK'の中から、総再生時間を1時間(3600秒)以内に収まるように曲を検索する。
select name, length from audio where genre='rock' option totallength 3600
総再生時間を2時間(7200秒)以内に収まるように、曲を適当に検索する。
select name, length from audio order by shuffle option totallength 7200