Reply to Re: Multiple records in one row

Your name:

Reply:


Posted by Ray on 09/10/07 02:17

The number of products will be determined by the "items" table. Here
is the query as I have it before any rotating and such. The select *
is for ease of use while in development.

select permutations.location_key, permutations.location_name,
permutations.item, permutations.Currency_Code, pp.price --
permutations.*, pp.*
from
(select * from item
cross join location) permutations
left join productPrice pp
on permutations.item_key = pp.item_key and
permutations.location_key = pp.location_key
order by permutations.location_key, permutations.Item_key

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация