Try this:
SELECT MIN(id) AS id, title
FROM tbl_countries
GROUP BY title
More Related Contents:
- How do I (or can I) SELECT DISTINCT on multiple columns?
- SQL/mysql – Select distinct/UNIQUE but return all columns?
- MySQL: Select DISTINCT / UNIQUE, but return all columns?
- Select distinct from multiple fields using sql
- Whats wrong in this sql query? It throws error [closed]
- SQL update from one Table to another based on a ID match
- Group by minimum value in one field while selecting distinct rows
- SQL SELECT WHERE field contains words
- JOIN two SELECT statement results
- SQL Query to get aggregated result in comma separators along with group by column in SQL Server
- How to use DISTINCT and ORDER BY in same SELECT statement?
- SQL SELECT speed int vs varchar
- MySQL ON DUPLICATE KEY UPDATE for multiple rows insert in single query
- MySQL remove duplicates from big database quick
- Return a value if no record is found
- How to delete from select in MySQL?
- SQL to find the number of distinct values in a column
- How can I select from list of values in Oracle
- sql query distinct with Row_Number
- How to write a SQL DELETE statement with a SELECT statement in the WHERE clause?
- SQL: how to select a single id (“row”) that meets multiple criteria from a single column
- SQL SELECT from multiple tables
- Can select * usage ever be justified?
- Left Join without duplicate rows from left table
- SQL: Two select statements in one query
- Check if two “select”s are equivalent
- SQL: Select rows with a column value that occurs at least N times?
- SQL query with distinct and sum
- Combine Two Tables in Select (SQL Server 2008)
- How to bulk insert only new rows in PostreSQL