Skip to main content

Posts

Showing posts with the label SQL > SQL Commands > Distinct

SQL > SQL Commands > Distinct

SQL > SQL Commands  >  Distinct In SQL, the  DISTINCT  keyword is used in the SELECT statement to retrieve unique values from a database table. Any value that has a duplicate will only show up once. SQL में, डेटाबेस तालिका से अद्वितीय मानों को पुनः प्राप्त करने के लिए चयन कथन में DISTINCT कीवर्ड का उपयोग किया जाता है। कोई भी मूल्य जिसमें एक डुप्लिकेट है वह केवल एक बार दिखाएगा। Syntax SELECT DISTINCT "column_name" FROM "table_name"; "table_name" is the name of the table where data is stored, and "column_name" is the name of the column containing the data to be retrieved. "table_name" उस तालिका का नाम है जहां डेटा संग्रहीत किया जाता है, और "column_name" उस स्तंभ का नाम है जिसमें डेटा पुनर्प्राप्त किया जाना है। Examples The examples will use the following table: Table  Store_Information Store_Name Sales Txn_Date Los Angeles 1500 Jan-05-1999 San Diego 250 Jan-07-1999 Los Angeles 300 Jan-08-1999...