1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

SQL練習記録

1
Posted at


player_statusesテーブルから全選手の名前・ポジション・チーム名を取得する
 SELECT name_e,position,team FROM player_statuses

■・特定のチームの所属する選手だけを取得する
 SELECT name_e FROM player_statuses WHERE team = '○○チーム';

・IN句を使って複数チームを同時に指定する方法も試す
 SELECT name_e FROM player_statuses WHERE team IN('○○チーム','××チーム');

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?