Hello.
I have a SQL statement like this that works fine:
SELECT Subcategories.Subcategory, Subcategories.ID as SubCategoryID, fields.FieldName, fields.id as FieldID from Fields Inner Join Subcategories on Fields.CategoryID=Subcategories.CategoryID
But I need to add another table to the mix. The new table is called FieldValues, and contains ID and VALUE columns. The relationship is Fields.ID = FieldValues.FieldID, but I don't know how to add it to the SQL statement above to get the matching value column from FieldValues.
I'm not good with joins and can't get the syntax right.
Thanks for any help.
-Brian
I have a SQL statement like this that works fine:
SELECT Subcategories.Subcategory, Subcategories.ID as SubCategoryID, fields.FieldName, fields.id as FieldID from Fields Inner Join Subcategories on Fields.CategoryID=Subcategories.CategoryID
But I need to add another table to the mix. The new table is called FieldValues, and contains ID and VALUE columns. The relationship is Fields.ID = FieldValues.FieldID, but I don't know how to add it to the SQL statement above to get the matching value column from FieldValues.
I'm not good with joins and can't get the syntax right.
Thanks for any help.
-Brian