Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

need to "join" another table with the one I have
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: need to "join" another table with the one I have
#31472
need to "join" another table with the one I have 12 Years, 2 Months ago Karma: 0
this is my query and it works great,
SELECT
street_num,
street,
apt,
price,
beds,
baths,
sqft,
garage_size
FROM jos_iproperty
WHERE state=1

This is in an html Table Sorter... what I need is to attach or "join" another field from a secondary table within jos_iproperty.

It is "jos_iproperty_categories" and the field is "title".
This is a category distinction and it needs to be relative.

Thanks.
The administrator has disabled public write access.
 
#31473
Re:need to "join" another table with the one I have 12 Years, 2 Months ago Karma: 760
Hello,

What's relation between jos_iproperty and jos_iproperty_categories tables?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#31476
Re:need to "join" another table with the one I have 12 Years, 2 Months ago Karma: 0
For each Property (as in Real Estate) the category is either Residential, Multi-Unit, or Manufactured. This is a table within the i_property table.
Does that answer the question??
The administrator has disabled public write access.
 
#31477
Re:need to "join" another table with the one I have 12 Years, 2 Months ago Karma: 760
No, what fields in the tables are used to link property and category.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#31492
Re:need to "join" another table with the one I have 12 Years, 2 Months ago Karma: 0
As far as I can tell, it is the "id". I have looked at all the databases that are underneath the jos_property...
The administrator has disabled public write access.
 
#31497
Re:need to "join" another table with the one I have 12 Years, 2 Months ago Karma: 0
This is what I found,
There is a table within the jos_property named jos_property_propmid, in this, there are 2 fields, prop_id and cat_id. This seems to be the only place that there is any correlation. But, the original id field in the jos_property table is not called prop_id,...it is just "id". Although they seem to be the same.
The administrator has disabled public write access.
 
Go to topPage: 12