Hi friends,
I have Two Three tables are there, Some records are same in all
the three tables , How i retrieve the same records in three table.
pls anybody send query.
Thanks,
Kiss07.
7 1708
Hi friends,
I have Two Three tables are there, Some records are same in all
the three tables , How i retrieve the same records in three table.
pls anybody send query.
Thanks,
Kiss07.
First:
The key is to use "normal form" so data is not duplicated in tables. Then your queries JOIN tables to get the data you want. This the whole point in using a RDBM. This is a must when it comes time to UPDATE your tables.
Any beginning SQL book will teach normalization.
Second:
If you want help with queries, you must post your table structure.
Hi friends,
I have Two Three tables are there, Some records are same in all
the three tables , How i retrieve the same records in three table.
pls anybody send query.
Thanks,
Kiss07.
Here is a pdf tutorial that I just dug up for another member.
Dear Bortonc,
Thanks for ur reply.
kiss07
Dear Friend,.
This is my table Structure.
Emp:
Name dept salary
Clement Analayst $200
Louis Admin $230
Emp2:
Name dept salary
Clement Analayst $200
abraham tester $150
Emp3:
Name dept salary
Clement Analayst $200
John Programmer $500
I want first record of each table.. pls..
Kiss07
Dear Friend,. -
This is my table Structure.
-
-
Emp:
-
-
Name dept salary
-
Clement Analayst $200
-
Louis Admin $230
-
-
Emp2:
-
-
Name dept salary
-
Clement Analayst $200
-
abraham tester $150
-
-
-
Emp3:
-
-
Name dept salary
-
Clement Analayst $200
-
John Programmer $500
I want first record of each table.. pls..
Kiss07
You can
SELECT Emp.Name, Emp2.Name FROM Emp, Emp2 WHERE Name = 'Clement';
but the results won't be very useful. This is due to poor table design. I suggest that you read up on normalization of you database tables.
Dear Bortonc,
Thanku very much...
Kiss07
Dear Bortonc,
Thanku very much...
Kiss07
You're welcome. I need the practice writing queries.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Mariusz Jedrzejewski |
last post by:
Hi,
I'll be very grateful if somebody can explain me why my Opera 7.23
(runing under linux) doesn't show me inner tables. Using below code I
can see only "inner table 1". There is no problem with...
|
by: Random Person |
last post by:
Does anyone know how to use VBA to relink tables between two MS Access
databases? We have two databases, one with VBA code and the other with
data tables. The tables are referenced by linked...
|
by: dskillingstad |
last post by:
I've been struggling with this problem for some time and have tried
multiple solutions with no luck.
Let me start with, I'm a novice at Access and I'm not looking for
someones help to design my...
|
by: Jill Elaine |
last post by:
I am building an Access 2002 frontend with linked tables to an
encrypted Paradox 7 database. When I first create these linked tables,
I'm asked for the password to the encrypted Paradox database,...
|
by: Shelby |
last post by:
Problem: My company generates its own data export from a propietary
database. These (free) tables can be read in C#.NET using a Visual FoxPro
driver (vfpoledb). I can read each of the six tables...
|
by: phil-news-nospam |
last post by:
In followups by Brian O'Connor (ironcorona) to other posts, he repeats
the idea that using tables in CSS is not something that should be done
because IE doesn't support it. Of course I'm not happy...
|
by: rdemyan via AccessMonster.com |
last post by:
I have a need to add another field to all of my tables (over 150). Not data,
but an actual field.
Can I code this somehow. So the code presumabley would loop through all the
tables, open each...
|
by: db2admin |
last post by:
Hello,
I want to plan rearranging tables in our database according to
business areas. say all tables in business area A will be in seperate
tablespace or tablespaces. I am planning to monitor...
|
by: bubbles |
last post by:
Using Access 2003 front-end, with SQL Server 2005 backend.
I need to make the front-end application automatically refresh the
linked
SQL Server tables.
New tables will be added dynamically in...
|
by: shriil |
last post by:
Hi
I have this database that calculates and stores the incentive amount
earned by employees of a particular department. Each record is
entered
by entering the Date, Shift (morn, eve, or night)...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
|
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...
|
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...
| |