เลือกพิเศษค่าของคอลัมน์ภาษา sql

รหัสตัวอย่าง

2
0

วิธีเพื่อหาพิเศษธาตุในภาษา sql

DISTINCT
- select distinct * from employees; ==> 
           retrieves any row if it has at 
           least a single unique column.
- select distinct first_name from employees; ==> 
              retrieves unique names
              from table. (removes duplicates)
- select distinct count(*) from employees;
          retrieve number of unique rows
          if any row has at least a single unique data.

ในภาษาอื่นๆ

หน้านี้อยู่ในภาษาอื่นๆ

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................

ดังอยู่ในนี้หมวดหมู่

ดังหน้ากับตัวอย่างอยู่ในหมวดหมู่