Express question, need help

This is a discussion on Express question, need help within the MySQL Database forums, part of the Database Forums category; Hi colleagues Pls help me. I have very important problem. I have 3 tables: tab1 - objects, index field [oid] tab2 - ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-16-2005
Stanislav V.Pshegoda
 
Posts: n/a
Default Express question, need help

Hi colleagues
Pls help me. I have very important problem.

I have 3 tables:
tab1 - objects, index field [oid]
tab2 - propertyes, index field [thid]
tab3 - linc table in format: [oid] - [thid], relation -
[great many] to [great many]

How i get table per oid in format
thid | thid.name | status
where:
thid - field [thid] tab2
thid.name - field [name] tab2
status - { =1 if the tab3 contain record [oid] - [thid]
=0, if the tab3 NOT contain record
[oid] - [thid]
}

Tnx




Reply With Quote
Reply


Thread Tools
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

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



All times are GMT +1. The time now is 01:02 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0