Jump to content

2 tables, matching a colum in each?


Mutley

Recommended Posts

I want to list all the rows from "name" where the data in "name" matches "field_1" in a different table.

This is a really crazy guess to give you an idea:
[code]SELECT field_1 FROM ipb_tablespfields_content WHERE name FROM ipb_tablesmembers = field 1 FROM ipb_tablespfields_content[/code]

Anyone know how to do this? Thanks.
Link to comment
https://forums.phpfreaks.com/topic/29581-2-tables-matching-a-colum-in-each/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.