473,473 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

superlass and subclass


how do i implement a superclass and subclass relatioship of the type
partial disjoint when creating the tables
--
seyiisq
------------------------------------------------------------------------
seyiisq's Profile: http://www.dbtalk.net/m146
View this thread: http://www.dbtalk.net/t299091

Apr 12 '06 #1
3 4287
seyiisq <se************@no-mx.forums.yourdomain.com.au> wrote in
news:se************@no-mx.forums.yourdomain.com.au:
how do i implement a superclass and subclass relatioship of the
type partial disjoint when creating the tables


I'm not sure I understand your terminology.

If you want to have a type/subtype relationship, where there is a
table with all the attributes shared by all the entities, and then
various additional tables with the attributes that apply to only
certain subtypes of those main entities, you implement it with a
main table and the appropriate number of additional tables in a 1:1
relationship. This is done by making the foreign key unique and
required (which is usually the definition of a primary key, but in
this case it's not, as the value is drawn from the main table).

The phrase "partial disjoint" suggests, though, that you may be
talking about JOINs in SQL. In that case, there are 3 types of joins
in Access's Jet SQL, INNER, LEFT and RIGHT. Those can be either
equi- or non-equi-joins (i.e., either using = or > or < or >= or
<=). Equi-joins can be displayed in the Access QBE, while
non-equi-joins (like UNION queries) cannot.

There is another type of join that Jet SQL does not support, the
full outer join, if I'm remembering correctly, but as my SQL
knowledge is almost exclusively derived from working with Jet, I
don't know anything about i.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Apr 12 '06 #2
First you have to fertilize the tomatoes.

Apr 12 '06 #3
LOL
Lyle Fairfield wrote:
First you have to fertilize the tomatoes.


Apr 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Frank Millman | last post by:
Hi all I have a question regarding inheritance. I have come up with a solution, but it is not very elegant - I am sure there is a more pythonic approach. Assume the following class definitions....
1
by: Gerry Sutton | last post by:
Hi All! I have noticed a strange behavior when using a constant identifier to initialize an instance list variable in a base class and then trying to modifying the list in subclasses by using...
2
by: ToChina | last post by:
Hi, I have the following code: class A { } class B : A { }
8
by: Lou Pecora | last post by:
I've been scanning Python in a Nutshell, but this seems to be either undoable or so subtle that I don't know how to do it. I want to subclass a base class that is returned from a Standard Library...
1
by: s.lipnevich | last post by:
Hi All, Is anything wrong with the following code? class Superclass(object): def __new__(cls): # Questioning the statement below return super(Superclass, cls).__new__(Subclass) class...
31
by: damacy | last post by:
hi, there. i have a problem writing a program which can obtain ip addresses of machines running in the same local network. say, there are 4 machines present in the network; , , and and if i...
6
by: Me | last post by:
I need to be able to acces non-virtual members of sublcasses via a base class pointer...and without the need for an explicit type cast. I thought a pure virtual getPtr() that acts as a type cast...
4
by: Kurt Smith | last post by:
Hi List: Class inheritance noob here. For context, I have the following base class and subclass: class Base(object): def __init__(self, val): self.val = val
0
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...
0
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,...
0
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...
0
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,...
1
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...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.