<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>An example of a one-to-one relationship would be something like
a &#8216;person&#8217; entity and a &#8216;medicare card&#8217; entity &#8211;
one person can only have one medicare card, and one medicare card can only
belong to one person.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Kind regards</span><span style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Allan Barnes, CEO</span><span style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Australian Institute of Education and Training</span><span
style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>P.O. Box 171</span><span style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Brunswick West 3055</span><span style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Ph: (03) 9387 2051</span><span style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>FAX: (03) 9387 3470</span><span style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Mobile: 0409 428 221</span><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
itapps-bounces@edulists.com.au [mailto:itapps-bounces@edulists.com.au] <b>On
Behalf Of </b>Mia Alexiou<br>
<b>Sent:</b> Wednesday, 23 July 2008 9:05 PM<br>
<b>To:</b> Year 12 IT Applications Teachers' Mailing List<br>
<b>Subject:</b> Re: [Year 12 IT Apps] Database relationships<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>Hi all,<br>
<br>
I'm an intruder here (I tech year 11 not year 12) but I thought I could share
my somewhat rusty knowledge of databases.<br>
<br>
In response to Lisa's question the employee/department relationship is
one-to-many. &nbsp; As for &quot;true&quot; one-to-one relationships I've never
seen one in action and so doubt they are common at a small database
level.&nbsp; That being said, I can think of a couple of situations where they
might be useful such as splitting commonly needed data from that which is
rarely needed, to reduce the time it takes to run queries over a huge table.&nbsp;
Another reason might be security, with highly sensitive data being stored in a
separate table.<br>
<br>
A 0 or 1 to-many relationship is much more common and is what most people (even
in industry) usually mean when they talk about one-to-one relationships.&nbsp;
These are explained nicely (under the one-to-one heading!) at <a
href="http://www.onlamp.com/pub/a/onlamp/2001/03/20/aboutSQL.html"
target="_blank">http://www.onlamp.com/pub/a/onlamp/2001/03/20/aboutSQL.html</a>.<br>
<br>
I hope this was helpful<br>
<br>
Mia Alexiou<br>
RMIT TAFE<br>
Information Technology<br>
Sessional Teacher<br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal>On Wed, Jul 23, 2008 at 6:10 PM, Lisa Imms &lt;<a
href="mailto:lisimms@copticvic.org" target="_blank">lisimms@copticvic.org</a>&gt;
wrote:<o:p></o:p></p>

<p class=MsoNormal>Hi Mark,<br>
<br>
Firstly, thanks for the resource :-)<br>
<br>
I hate to even contemplate disagreeing with you as my ITA class and I regard
you as the ITA font-of-all-knowledge, but I will try this anyway.....<br>
<br>
Your example for one-to-one: &quot;E.g. an employee's department data in one
table matches a corresponding department in another table, allowing data
relating to that department to be fetched.&quot;<br>
<br>
Wouldn't this be a one to many relationship? Even the line you have joining
them has the 'many feathers' at the employees table? Although each employee can
belong to only one department, each department can (and will) have multiple
employees? So it is actually a one to many relationship?<br>
<br>
Am I correct in assuming that a well organised database would not have any
one-to-one relationships? The two tables in a one-to-one relationship
could/should just be merged into one table?<br>
<br>
Lisa Bairstow<br>
St Mary's Coptic Orthodox College<br>
<br>
________________________________<br>
<br>
From: <a href="mailto:itapps-bounces@edulists.com.au" target="_blank">itapps-bounces@edulists.com.au</a>
on behalf of Mark Kelly<br>
Sent: Wed 7/23/2008 2:24 PM<br>
To: Year 12 IT Applications Teachers' Mailing List<br>
Subject: [Year 12 IT Apps] Database relationships<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<br>
Hi all. &nbsp;It's been mighty quiet here for a while. &nbsp;To perk things up,<br>
here's a little revision for database relationships (1-1, 1-many,<br>
many-many) that may or may not be useful.<br>
<br>
Cheers<br>
Mark<br>
<br>
--<br>
Mark Kelly<br>
Manager - Information Systems<br>
McKinnon Secondary College<br>
McKinnon Rd McKinnon 3204, Victoria, Australia<br>
Direct line / Voicemail: 8520 9085<br>
School Phone +613 8520 9000<br>
School Fax +613 95789253<br>
kel AT <a href="http://mckinnonsc.vic.edu.au" target="_blank">mckinnonsc.vic.edu.au</a><o:p></o:p></p>

</div>

<p class=MsoNormal>Webmaster - <a href="http://www.mckinnonsc.vic.edu.au"
target="_blank">http://www.mckinnonsc.vic.edu.au</a> &lt;<a
href="http://www.mckinnonsc.vic.edu.au/" target="_blank">http://www.mckinnonsc.vic.edu.au/</a>&gt;<br>
IT Lecture notes: <a href="http://vceit.com" target="_blank">http://vceit.com</a>
&lt;<a href="http://vceit.com/" target="_blank">http://vceit.com/</a>&gt;<o:p></o:p></p>

<div>

<p class=MsoNormal>Moderator: IT Applications Mailing List<br>
<br>
If you Declare War - is it integer or boolean?<br>
_______________________________________________<o:p></o:p></p>

</div>

<p class=MsoNormal><a href="http://www.edulists.com.au" target="_blank">http://www.edulists.com.au</a>
&lt;<a href="http://www.edulists.com.au/" target="_blank">http://www.edulists.com.au/</a>&gt;
&nbsp;- FAQ, resources, subscribe, unsubscribe<o:p></o:p></p>

<div>

<p class=MsoNormal>IT Applications Mailing List kindly supported by<br>
<a href="http://www.vcaa.vic.edu.au/vce/studies/infotech/itapplications3-4.html"
target="_blank">http://www.vcaa.vic.edu.au/vce/studies/infotech/itapplications3-4.html</a>
- Victorian Curriculum and Assessment Authority and<o:p></o:p></p>

</div>

<p class=MsoNormal><a href="http://www.vitta.org.au" target="_blank">http://www.vitta.org.au</a>
&lt;<a href="http://www.vitta.org.au/" target="_blank">http://www.vitta.org.au/</a>&gt;
&nbsp; - VITTA Victorian Information Technology Teachers Association Inc<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><br>
_______________________________________________<br>
<a href="http://www.edulists.com.au" target="_blank">http://www.edulists.com.au</a>
- FAQ, resources, subscribe, unsubscribe<br>
IT Applications Mailing List kindly supported by<br>
<a href="http://www.vcaa.vic.edu.au/vce/studies/infotech/itapplications3-4.html"
target="_blank">http://www.vcaa.vic.edu.au/vce/studies/infotech/itapplications3-4.html</a>
- Victorian Curriculum and Assessment Authority and<br>
<a href="http://www.vitta.org.au" target="_blank">http://www.vitta.org.au</a>
&nbsp;- VITTA Victorian Information Technology Teachers Association Inc<o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<p class=MsoNormal>_______________________________________________ <br>
<a href="http://www.edulists.com.au">http://www.edulists.com.au </a>- FAQ,
resources, subscribe, unsubscribe <br>
IT Applications Mailing List kindly supported by <br>
<a
href="http://www.vcaa.vic.edu.au/vce/studies/infotech/itapplications3-4.html%20">http://www.vcaa.vic.edu.au/vce/studies/infotech/infotechindex.html
</a>- Victorian Curriculum and Assessment Authority and <br>
<a href="http://www.vitta.org.au">http://www.vitta.org.au </a>- VITTA Victorian
Information Technology Teachers Association Inc<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=1 width="100%" align=center>

</div>

<p class=MsoNormal>Message protected by MailGuard: e-mail anti-virus, anti-spam
and content filtering.<br>
<a href="http://www.mailguard.com.au/mg">http://www.mailguard.com.au/mg</a><br>
<br>
<a
href="https://login.mailguard.com.au/report/1vuYjlI9hA/408s2xedFO3BSztpPnlZPi/0.004">Report
this message as spam</a> &nbsp;<br>
&nbsp;<o:p></o:p></p>

<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>No virus
found in this incoming message.<br>
Checked by AVG - http://www.avg.com<br>
Version: 8.0.138 / Virus Database: 270.5.4/1567 - Release Date: 7/22/2008 4:05
PM</span><o:p></o:p></p>

</div>

</body>

</html>