Guest User

Untitled

a guest
May 25th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. -- 全商品の名前を重複無く取得してください
  2.  
  3. データを重複なく取得するには DISTINCT(カラム名) を使用します。
  4.  
  5. -----------------------------------------------
  6.  
  7. SELECT DISTINCT(name)
  8. FROM items
  9. ;
Add Comment
Please, Sign In to add comment