Last active
August 29, 2015 14:02
-
-
Save abarth500/5c9976517f819e4a0fe5 to your computer and use it in GitHub Desktop.
[CS実験I] 表紙画像取得SQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --もし学籍番号が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