try this query
SELECT ID, FirstName, LastName FROM table GROUP BY(FirstName)
More Related Contents:
- When I want to install MySQL I faced this issue “root account password” I forgot it
- Restoring MySQL database from physical files
- MySQL Trigger after update only if row has changed
- MySQL “WITH” clause
- difference between primary key and unique key
- Illegal mix of collations MySQL Error
- How can I initialize a MySQL database with schema in a Docker container?
- SQL query: Delete all records from the table except latest N?
- Rename a column in MySQL
- How to change collation of database, table, column?
- Difference Between Schema / Database in MySQL
- Node.js can’t authenticate to MySQL 8.0
- Mysql 1050 Error “Table already exists” when in fact, it does not
- Which rows are returned when using LIMIT with OFFSET in MySQL?
- How to transform a MSSQL CTE query to MySQL?
- Looping Over Result Sets in MySQL
- How to get the latest record in each group using GROUP BY? [duplicate]
- MySQL Data Source not appearing in Visual Studio
- MySQL JSON: How to find object from key value
- MYSQL into outfile “access denied” – but my user has “ALL” access.. and the folder is CHMOD 777
- Advanced MySql Query: Update table with info from another table
- Commit data in a mysql container
- How do I count columns of a table
- Mysqldump launched by cron and password security
- MySQL Trigger cannot update table – getting ERROR 1442
- MySQL delete duplicate records but keep latest
- Why MySQL is giving error “Not allowed to return a result set from a function”?
- Where I can find a list of “mysqldump” exit codes?
- ALTER TABLE ADD COLUMN takes a long time
- Mysql server does not support 4-byte encoded utf8 characters