MESSAGE
DATE | 2014-12-11 |
FROM | Ruben Safir
|
SUBJECT | Subject: [LIU Comp Sci] Fwd: Re: Database Class concepts which are still unclear
|
From owner-learn-outgoing-at-mrbrklyn.com Thu Dec 11 14:38:23 2014 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix) id 415AE161168; Thu, 11 Dec 2014 14:38:23 -0500 (EST) Delivered-To: learn-outgoing-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 28) id 28A4616116B; Thu, 11 Dec 2014 14:38:23 -0500 (EST) Delivered-To: learn-at-nylxs.com Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mrbrklyn.com (Postfix) with ESMTP id 65302161168 for ; Thu, 11 Dec 2014 14:38:22 -0500 (EST) Received: from [10.0.0.42] (unknown [96.57.23.82]) by mailbackend.panix.com (Postfix) with ESMTPSA id 2C2AA13252 for ; Thu, 11 Dec 2014 14:38:21 -0500 (EST) Message-ID: <5489F2B3.4090207-at-panix.com> Date: Thu, 11 Dec 2014 14:38:27 -0500 From: Ruben Safir User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: learn-at-nylxs.com Subject: [LIU Comp Sci] Fwd: Re: Database Class concepts which are still unclear References: In-Reply-To: X-Forwarded-Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: owner-learn-at-mrbrklyn.com Precedence: bulk Reply-To: learn-at-mrbrklyn.com
-------- Forwarded Message -------- From: - Thu Dec 11 14:32:44 2014 X-Account-Key: account8 X-UIDL: UID9237-1258411666 X-Mozilla-Status: 0011 X-Mozilla-Status2: 00000000 X-Mozilla-Keys: >From pingtsaichung-at-gmail.com Thu Dec 11 14: 30:42 2014 Lines: 120 Return-Path: X-Original-To: mrbrklyn-at-panix.com Delivered-To: mrbrklyn-at-panix.com Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mailbackend.panix.com (Postfix) with ESMTP id 5A03313E43 for ; Thu, 11 Dec 2014 14:30:42 -0500 (EST) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by mail2.panix.com (Postfix) with ESMTP id 2F1571F084 for ; Thu, 11 Dec 2014 14:30:42 -0500 (EST) Received: by mail-wg0-f53.google.com with SMTP id l18so7341547wgh.12 for ; Thu, 11 Dec 2014 11:30:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2oQZP+XC3RlQI11+wRsjOI5QocNEtkERwlYZ65wljNw=; b=q72kv/bCRVZa8KGmt8ZXp3quuq8BCG7QDJEcAtrgBgRM8l4VWjs0Wqlj/8OCwhB8tX X2gwBsKNVtHhBrFHeOwFTT6QFOcZJ0gogvqMcv6+yZToMHU0fZ12MgB5TiM6LReNAurS KRK46SLEurrMbtFNAOyI+y5Jk5kdaxiva3V2MsLUYqvN6gUfGMV+b8kDw3yHaszqLHDa D5UnC2iOdHM5CJ4xzKi98qk6BURf74S2ai3Tkdb+SL3OF+OqSNk3zfOcjg3D4u/eM3h/ PGoaCGlGqysMtI2Lnw82PHlW0HFqFqzbZni5tmygY1b2qGAaGoQFfYv5NQYucqesADn/ wfUA== MIME-Version: 1.0 X-Received: by 10.180.81.70 with SMTP id y6mr1048637wix.6.1418326241736; Thu, 11 Dec 2014 11:30:41 -0800 (PST) Received: by 10.27.21.9 with HTTP; Thu, 11 Dec 2014 11:30:41 -0800 (PST) In-Reply-To: <5489C062.7010909-at-panix.com> References: <5489C062.7010909-at-panix.com> Date: Thu, 11 Dec 2014 14:30:41 -0500 Message-ID:
Subject: Re: Database Class concepts which are still unclear From: Ping-Tsai Chung To: Ruben Safir Cc: Ping-Tsai Chung Content-Type: multipart/alternative; boundary=f46d04428270d07cfd0509f5cfd6
->What is an n-ary operation? It is mentioned several times, but I don't see an answer
*n-ary operation is * *Z1(A1, A2, ..., An) X Z2(A1, A2, ..., An) X ..... X Zn(A1, A2, ..., An)*
The n-ary CARTESIAN PRODUCT operation is an extension of the of CARTESIAN PRODUCT operation—also known as CROSS PRODUCT or CROSS JOIN—which is denoted by ×. This is also a binary set operation, which produces new tuples by concatenating all possible combinations of tuples
On Thu, Dec 11, 2014 at 11:03 AM, Ruben Safir wrote:
> 6.2.2 The CARTESIAN PRODUCT (CROSS PRODUCT) > Operation > Next, we discuss the CARTESIAN PRODUCT operation—also known as CROSS > PRODUCT or CROSS JOIN—which is denoted by ×. This is also a binary set > opera- > tion, but the relations on which it is applied do not have to be union > compatible. In > its binary form, this set operation produces a new element by combining > every > member (tuple) from one relation (set) with every member (tuple) from > the other > relation (set). In general, the result of R(A1, A2, ..., An) × S(B1, B2, > ..., Bm) is a rela- > tion Q with degree n + m attributes Q(A1, A2, ..., An, B1, B2, ..., Bm), > in that order. > The resulting relation Q has one tuple for each combination of > tuples—one from R > and one from S. Hence, if R has nR tuples (denoted as |R| = nR), and S > has nS tuples, > then R × S will have nR * nS tuples. > The n-ary CARTESIAN PRODUCT operation is an extension of the above concept, > which produces new tuples by concatenating all possible combinations of > tuples > from n underlying relations. > > > What is an n-ary operation? It is mentioned several times, but I don't > see an answer > > Ruben >
|
|