Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

whats wrong with this sql

Status
Not open for further replies.

wolf73

Programmer
Feb 12, 2006
93
0
0
CA
I don't where i am making mistake on this sql


SELECT field_mappings.id AS field_mapping_id, internal_fields.id AS internal_field_id, internal_fields.field_name AS static_name,
FROM field_mappings
INNER JOIN internal_fields ON internal_fields.id = field_mappings.id
WHERE internal_fields.id =133
LIMIT 0 , 30


I get this error

"#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM field_mappings
INNER JOIN internal_fields ON internal_fields.id = field_ma' at line 2

"



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top