You are here: Query question « MySQL Databases « IT news, forums, messages
Query question

Posted by Jaak on 01/08/06 06:15

Please can somebody help me with this though query

I have 2 fields in my table: owner and machine
none of them are unique

I want to do a query - as input I have a list of owners
as output I need the machines, but only one

jack radio
jack computer
jack cdplayer
bill radio
bill shoes
larry shoes
larry trouser
larry gps
kate cdplayer
kate car

as input I give 'jack AND bill AND larry'
as output I need 'radio computer cdplayer shoes trouser gps'

Can anybody help me?

 

Navigation:

[Reply to this 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

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