If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Query decomposition in distributed

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-20-07, 04:25
JohnQ JohnQ is offline
Registered User
 
Join Date: Jun 2007
Posts: 1
Query decomposition in distributed

Hi i am new,

I have a problem in understanding the query decomposition in D-DB. Can anyone can help me to understand the first question of the exercise 25,21 of Elmasri-Navath 4th edition?

We have a distributed database system:
3 bookstores S1,S2,S3 and the books are distributed in this way
S1: B1 B4
S2: B1 B2
S3: B1 B2 B3 B4

where BOOKS
B1 : 0<price <20
B2 : 20<=price <50
B3 : 50<=price<100
B4 : 100<price < ...

And we execute the query in the S1
SELECT book_code
FROM BOOKS
WHERE price >15 and price <55

What will be the new sub-queries? It will execute the above select in each store S1,S2,S3 ?


Thanks in advance
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On