Search
 
SCRIPT & CODE EXAMPLE
 

SQL

mysql query unique column

SELECT DISTINCT(column_name) FROM your_table_name;

#You can select distinct values for one or more columns. The column names has to be separated with comma.
SELECT DISTINCT column_name_1, column_name_2 FROM your_table_name;

Comment

PREVIOUS NEXT
Code Example
Sql :: postgresql array last element 
Sql :: create table mysql 
Sql :: backup ms sql database table data to file 
Sql :: create mysql user 
Sql :: oracle ora-00054 find 
Sql :: how to rename column in sql 
Sql :: oracle grants 
Sql :: sql if null then 0 
Sql :: oracle sql create view 
Sql :: is there any command to change postgres password 
Sql :: mysql data types 
Sql :: cmd to rename a collumn name in sql 
Sql :: sQL query to get all table records count from a database 
Sql :: mysql python 
Sql :: mysql incrementation 
Sql :: SQL SERVER SELECT BETWEEN DATETIME 
Sql :: datetrunc 
Sql :: node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v72-win32-x64.tar.gz 
Sql :: how to add unique key constraint in mysql 
Sql :: show data in table postgres 
Sql :: datepart postgres 
Sql :: postgresql left join distinct on 
Sql :: create index concurrently postgres 
Sql :: mysql columns values as comma separated string 
Sql :: postgresql create schema in specific database 
Sql :: is mysql and sqlite same 
Sql :: change default schema sql server 
Sql :: ubuntu connect to mssql database 
Sql :: oracle show column of table 
Sql :: mysql add column with default value 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =