Skip to content

Instantly share code, notes, and snippets.

@abarth500
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save abarth500/5c9976517f819e4a0fe5 to your computer and use it in GitHub Desktop.

Select an option

Save abarth500/5c9976517f819e4a0fe5 to your computer and use it in GitHub Desktop.
[CS実験I] 表紙画像取得SQL
--もし学籍番号が70310051の場合
SELECT * FROM geotag WHERE id = (
SELECT id FROM geotag
ORDER BY id
LIMIT 1
OFFSET 310051);
-- ^^^^^^---ここに学生番号の先頭の70をとった数値を入れる。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment