Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create two tables, TI (ename, jobno) and T2Ciobno, jobdesc). Let jobno be data-type, NUMBER(3), and use appropriate data-types for the other attributes. Put three rows

image text in transcribed

Create two tables, TI (ename, jobno) and T2Ciobno, jobdesc). Let jobno be data-type, NUMBER(3), and use appropriate data-types for the other attributes. Put three rows in T1 and two rows in T2. Give T1.jobno values 100, 200, 300 for the three rows: <...>,<...>,..., 300>, where .. represents any value you choose. Give T2.jobno the values 100, 200: , a. How many rows are there in the equi-join (on jobno) of T1 and T2? b. If the values of T2.jobno were , (with different jobdesc values), how 3-2. many rows would you expect and why? Why would the rows have to have different descriptions? c. If the values of T2.jobno were 400, 500 as in ,, how many rows would you expect to get? If the values of T1.jobno were <...>,<..>,<...> (different names) and the values of T2.jobno were with different descriptions, how many rows would you expect to get? If you have two tables, what is the number of rows you may expect from a equi-join operation (with what conditions)? A Cartesian product? d. e. f. The number of rows in an equi-join of two tables, whose sizes are M and N rows, is from_ to _depending on these conditions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions