Output data rows being duplicated

Can you post the full query that you used? Does it use any JOIN query with another table? SQL JOIN Query can creates duplicate values.