Advertisement:
Over 100,000 Jobs Worldwide. Click
here
to find one for you.
FAQs Categories
Client Server Commands
Database Structure
Table Types or Storage Engines
Indexes
SQL Statements
Table Joins
Funtions and Operators
Tricky Select Queries
Speed Up Queries
Data Back Up
General Questions
Errors
What do you want to ask today?
Home
/
Tricky Select Queries
/
Question No: 61
How to skip repeating values from the query results?
I want to skip repeating values from the results using MySQL query. Any way?
Answer No: 61
Repeating values can be skipped using GROUP BY in the query as follow:
SELECT col_1, col_2, col_3, .... FROM table_name GROUP BY col_1;
Related MySQL FAQs to the Above FAQ
How to do numeric sorting within a string field in MySQL?
How to take data back up of single table?
How to find duplicate records from a table in MySQL?
How to get last top records in asceding order?
How to move table from one to another MySQL database?
How to get parent table child table and grandchild table aggregates in MySQL?
How to retrieve one child row against each parent id?
An important trick to speed up select query.
How to find the books which have authors with more than one book in the table?
How to count the number of rows containing APOSTROPHE in MySQL?
How to compare data of two tables of two different databases in MySQL?
How to retreive multiple records without a reference table?
About Site
About FAQs
Affiliates and Sponsors
-
Site Map
-
Bookmark Us
-
Recommend this Site to Your Friend
-
Contact Us
-
Recently Added FAQs
-
Sulata iSoft - Limitless Solutions
-
careermidway.com
© 2007 - 2010 www.mysqlfaqs.net
All rights reserved. The site is owned and operated by
Mr. Javed Bhatti
- Pakistan.