Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Ask a Question
How do we use the DISTINCT statement? What is its use?
Home
Sql
How do we use the DISTINCT statement? What is its use?
asked
Nov 26, 2020
in
Sql
by
SakshiSharma
How do we use the DISTINCT statement? What is its use of DISTINCT statement?
#sql-distinct
#distinct-statement
#
1
Answer
0
votes
answered
Nov 26, 2020
by
rajeshsharma
The DISTINCT statement is used with the SELECT statement. If the record contains duplicate values then the DISTINCT statement is used to select different values among duplicate records.
Syntax:
SELECT DISTINCT column_name(s)
FROM table_name;
Related questions
0
votes
How do we use the DISTINCT statement? What is its use?
asked
Jul 6, 2020
in
Sql
by
Robindeniel
#sql-distinct-statement
#distinct-statement-sql
0
votes
What is DISTINCT statement in SQL server? What is its use?
asked
Apr 22, 2020
in
DBMS
by
Hodge
#sqlserver
#dbms
0
votes
What is the use of target designer?
asked
Dec 23, 2020
in
Informatica
by
SakshiSharma
#target-designer
#
0
votes
What is the use of .hiverc file in Hive?
asked
Jan 12, 2020
in
Big Data | Hadoop
by
sharadyadav1986
#
hiverc-file-hive
Bigdata-questions-answers
Hadoop-questions-answers
+1
vote
What do co-workers say about you?
asked
Oct 24, 2019
in
Interview Question
by
AdilsonLima
interview
#interviewquestions
#interviewquestionandanswer
#
0
votes
How to initialize array in java?
asked
Oct 9, 2020
in
JAVA
by
SakshiSharma
#initialize-arrary-in-java
#java-array-initialisation
#
Java-questions-answers
0
votes
How to register new gTLD names?
asked
Oct 5, 2020
in
Web Hosting
by
Robindeniel
#register-gtld-names
#
0
votes
How to become a domain registrar?
asked
Oct 3, 2020
in
Web Hosting
by
Robindeniel
#domain-registrar
#
0
votes
How to reset a password-protected BIOS configuration?
asked
Aug 22, 2020
in
Cyber Security
by
sharadyadav1986
#password-protected-bios-config
#
bios-configuration
0
votes
How long the items in ViewState exists?
asked
May 14, 2019
in
Other
by
Robindeniel
#dotnet
net
#
dot#net
0
votes
How you can add an event handler?
asked
May 14, 2019
in
Other
by
Robindeniel
#aspdotnet
#asp
#
net
#aspnet
0
votes
How to lose weight effectively?
asked
May 13, 2019
in
Other
by
Robert kimber
#
lose
weight
0
votes
What is the use of Angular filters? What are its distinct types?
asked
Jun 6, 2022
in
Angular
by
john ganales
angular-filters
0
votes
Difference between NFS and HDFS in BigData
asked
Jan 9, 2021
in
Big Data | Hadoop
by
SakshiSharma
#nfs-vs-hdfs
#
Bigdata-questions-answers
Hadoop-questions-answers
0
votes
Why is synchronization necessary? Explain with the help of a relevant example.
asked
Dec 16, 2020
in
JAVA
by
SakshiSharma
#synchronization
#
Java-questions-answers
0
votes
What are lifecycle hooks in Angular? Explain a few lifecycle hooks.
asked
Dec 12, 2020
in
Angular
by
SakshiSharma
#angular-lifecycle
#lifecycle-hooks
#
0
votes
What are the advantages of passing this into a method instead of the current class object itself?
asked
Dec 7, 2020
in
JAVA
by
SakshiSharma
#argument-pass
#
object-class
Java-questions-answers
0
votes
What are the key differences between Hive and Pig?
asked
Dec 3, 2020
in
Hive
by
sharadyadav1986
#hive-vs-pig
#hive
#pig
#
0
votes
What is the maximum number of S3 buckets you can create?
asked
Dec 2, 2020
in
AWS
by
rajeshsharma
#maximum-number-s3
s3-buckets
#
0
votes
What are the main differences between the Java platform and other platforms?
asked
Nov 14, 2020
in
JAVA
by
rajeshsharma
#java-platform
#
Java-questions-answers
...