473,786 Members | 2,608 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Query for Data redundancy

3 New Member
what is the query for reduce redundancy in table plz help me
Jul 11 '07 #1
7 3134
SkinHead
39 New Member
What do you mean by redundancy ?

Do you mean records that are older than a specific date ?
Jul 11 '07 #2
brucepayne
3 New Member
What do you mean by redundancy ?

Do you mean records that are older than a specific date ?
i mean one table have data's with redundancy...i want write query for select data's without redundancy
Jul 11 '07 #3
SkinHead
39 New Member
My apologies for being thick, but by redundancy, do you mean duplicate records ?

Could you give a brief example from the table of records that are deemed redundant, then I can suggest a means of selecting them.

Cheers
Jul 11 '07 #4
brucepayne
3 New Member
yes i mean duplication of records ....when we write a query that omit all dublication records from table and display them into another new table without dublication

Cheers
Jul 11 '07 #5
SkinHead
39 New Member
There is some useful info on duplicate records in the following article.

http://www.kodyaz.com/articles/delete-duplicate-records-rows-in-a-table.aspx

I know it's to do with deleting duplicates, but it should give you some ideas.
Jul 11 '07 #6
ck9663
2,878 Recognized Expert Specialist
if it's a complete duplicate (meaning all columns are the same) you can simply include the keyword DISTINCT on your select

try:

select distinct * from tablename
Jul 12 '07 #7
hariharanmca
1,977 Top Contributor
i mean one table have data's with redundancy...i want write query for select data's without redundancy
there is no word called data's, its data.
Jul 12 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

7
1917
by: Riley DeWiley | last post by:
I am continually amazed by SQL's ability to humble me .... I have a toy query into a toy database that looks just like this: SELECT . FROM f, fw, w WHERE f.id = fw.fid and fw.wid = w.id and w.id in (((((select distinct w.id from w where w.x in ('a', 'b') ))))) GROUP BY . HAVING count(f.id) = (select count(id) from (((((select distinct w.id from w
6
2825
by: srinivas | last post by:
hi I have the data in sql server table like OrderID Trans ID 74 1 74 4 74 5 76 1 76 4 76 5
4
1997
by: frizzle | last post by:
Hi there, Still building my forum. I have a certain mysql-query i just can't figure out. These are my tables (simplified): categories -> id, description forums -> id, cat_id, description threads -> id, forum_id, date, title, text I suppose each speaks for itself.
3
5685
by: maffonso | last post by:
Hi guys, I have built a cross reference query (columns is year). I would like to change the caption and adjust others things. The best way would be to wrap the query in a form, but soon 2007 will begin And I will have to maintain the form. I worry mostly about the caption of the cross query. How can I change the caption of a cross query without use a form. Thank you all
1
2213
by: csgraham74 | last post by:
Hi Guys, I was wondering if someone could help me with an access query. I basicallly have two tables A & B Im table A there are numerous records with Fields1 & fields 2 I want to use table B to update table A. Bascically i need to compare table A & Table B - if records exist in Table B that are not in Table A
1
2038
by: gazsharpe101 | last post by:
Hi, I have a problem which should have a relatively simple solution, I just cannot find it. I have a select query which gives me the following results: Company_Name Staff_FirstName Staff_Surname Staff_DOB ABC Ltd Joanne Robinson 08/12/1950 DEF Ltd Kevin Smith 25/04/1963 ABC Ltd Paul Jones ...
18
2301
by: cov | last post by:
I have a query where I'm attempting to pull data from 3 different tables using php and mysql. I had hoped to have a unique identifier to help ensure referential integrity but it appears that unique number won't always be a possibility so I won't bank on it at all. I have two like fields in these two tables 'area' and 'equipment' and though there is a possibility of having two different pieces of equipment within two areas called by the...
11
1766
by: sinner | last post by:
hi, i faced a problem when i tried to retrive value from two table using a common value. ie table1 has emp_id and name,table2 has emp_id and prod.. i tried to use the query select name,prod from table1,table2 where table1.emp_id='some value'; The problem was there was redundancy of data in table2 and using distinct key word also i got unwanted values. ie. select distinct name,prod from table1,table2 where table1.emp_id='some value'; i...
15
7873
by: akomiakov | last post by:
Is there a technical reason why one can't initialize a cost static non- integral data member in a class?
0
9650
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9497
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10363
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8992
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6748
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.