i'm having some difficulties which You'll solve easily, i guess, so please help me:
I have 3 tables with this structure
1. PROFESOR
id
name
id_subject (that equals FIELD "id" in SUBJECT table)
2. SUBJECT
id
name
3. GRADES
id
id_profesor (equals FIELD "id" in PROFESOR table)
id_subject (equals FIELD "id" in SUBJECT table)
grade
I'm trying to display grades, with subject names and profesor names.
I can display these fields:
"GRADES.grade,SUBJECT.name"
with this SQL query
Expand|Select|Wrap|Line Numbers
- SELECT grades.grade, subject.name FROM subject INNER JOIN grades ON grades.id_subject=subject.id WHERE etc etc
Hope to be answered :-)
Thank You in advance.
Matej