<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://junwu.nptu.edu.tw/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://junwu.nptu.edu.tw/dokuwiki/feed.php">
        <title>Jun Wu的教學網頁&lt;br&gt;&lt;small&gt;國立屏東大學資訊工程學系&lt;br&gt;CSIE, NPTU&lt;br&gt;&lt;img src=&quot;https://SiteStates.com/show/image/33059.jpg&quot; border=&quot;0&quot; /&gt;&lt;/small&gt; db:homework</title>
        <description></description>
        <link>https://junwu.nptu.edu.tw/dokuwiki/</link>
        <image rdf:resource="https://junwu.nptu.edu.tw/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-28T20:40:44+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer1&amp;rev=1562079678&amp;do=diff"/>
                <rdf:li rdf:resource="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer2&amp;rev=1562079678&amp;do=diff"/>
                <rdf:li rdf:resource="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer2abc&amp;rev=1562079678&amp;do=diff"/>
                <rdf:li rdf:resource="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer3&amp;rev=1562079678&amp;do=diff"/>
                <rdf:li rdf:resource="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer4&amp;rev=1562079678&amp;do=diff"/>
                <rdf:li rdf:resource="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:start&amp;rev=1617078576&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://junwu.nptu.edu.tw/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Jun Wu的教學網頁<br><small>國立屏東大學資訊工程學系<br>CSIE, NPTU<br><img src="https://SiteStates.com/show/image/33059.jpg" border="0" /></small></title>
        <link>https://junwu.nptu.edu.tw/dokuwiki/</link>
        <url>https://junwu.nptu.edu.tw/dokuwiki/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer1&amp;rev=1562079678&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-07-02T15:01:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>db:homework:answer1</title>
        <link>https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer1&amp;rev=1562079678&amp;do=diff</link>
        <description>作業1 參考解答

(a)



create table Product
(
   maker CHAR(30),
   model CHAR(10) primary key,
   _type CHAR(15)
);



註：因dokuwiki排版限制，「type」無法正常顯示，所以使用「_type」代替。

(b)



create table PC
(
   model CHAR(30),
   speed DECIMAL(4,2),
   ram INTEGER,
   hd INTEGER,
   price INTEGER
);</description>
    </item>
    <item rdf:about="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer2&amp;rev=1562079678&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-07-02T15:01:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>db:homework:answer2</title>
        <link>https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer2&amp;rev=1562079678&amp;do=diff</link>
        <description>作業2 參考解答



(e) Find those manufacturers that sell Laptops, but not PC&#039;s.

(1) Algebraic expression

	&quot; &lt;latex&gt;  \pi_{maker}(\sigma_{type=laptop}(Product) - \sigma_{type=pc}(Product)) &lt;/latex&gt;&quot;

(2) Linear notation

	&quot; &lt;latex&gt; R1:= \sigma_{type=laptop}(Product) &lt;/latex&gt;</description>
    </item>
    <item rdf:about="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer2abc&amp;rev=1562079678&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-07-02T15:01:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>db:homework:answer2abc</title>
        <link>https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer2abc&amp;rev=1562079678&amp;do=diff</link>
        <description>作業2 參考解答

page 49, Exercise 4.1 (a) to (c)

(a) What PC models have a speed of at least 3.00?

(1) Algebraic expression 

	&quot; &lt;latex&gt;\pi_{model}(\sigma_{speed\geq 3.0}(PC))&lt;/latex&gt;&quot;

(2) Linear notation

	&quot; &lt;latex&gt;R:=\sigma_{speed\geq 3.0}(PC)&lt;/latex&gt;</description>
    </item>
    <item rdf:about="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer3&amp;rev=1562079678&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-07-02T15:01:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>db:homework:answer3</title>
        <link>https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer3&amp;rev=1562079678&amp;do=diff</link>
        <description>作業3 參考解答

(a) A PC with a processor speed less than 2.00 must not sell for more than $500.

	&quot; &lt;latex&gt; \sigma_{speed&lt;2.00 \wedge price&gt;500}(PC)= \emptyset &lt;/latex&gt;&quot;

(b) A laptop with a screen size less than 15.4 inches must have at least a 100 gigabyte hard disk or sell for less than $1000.</description>
    </item>
    <item rdf:about="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer4&amp;rev=1562079678&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-07-02T15:01:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>db:homework:answer4</title>
        <link>https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:answer4&amp;rev=1562079678&amp;do=diff</link>
        <description>The version of the answers is non-redundancy

Exercise 3.2.2

(i) S(A,B,C,D) with FD&#039;s A-&gt;B,B-&gt;C,B-&gt;D.

a.

	&quot; &lt;latex&gt;A-$&gt;$B,A-$&gt;$C,A-$&gt;$D,B-$&gt;$C,B-$&gt;$D &lt;/latex&gt;&quot;

b.

	&quot; &lt;latex&gt;A &lt;/latex&gt;&quot;

c.

	&quot; &lt;latex&gt;AB,AC,AD,ABC,ACD,ABD,ABCD &lt;/latex&gt;&quot;

(ii) T(A,B,C,D) with FD&#039;s AB-&gt;C,BC-&gt;D,CD-&gt;A,and AD-&gt;B.
$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$$&gt;$</description>
    </item>
    <item rdf:about="https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:start&amp;rev=1617078576&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-30T04:29:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>db:homework:start</title>
        <link>https://junwu.nptu.edu.tw/dokuwiki/doku.php?id=db:homework:start&amp;rev=1617078576&amp;do=diff</link>
        <description>國立屏東大學 資訊工程學系 資料庫系統導論

作業及參考解答

	*  Findkeys
		*  isBCNF
		*  decompose</description>
    </item>
</rdf:RDF>
