![]() ![]() |
| |||||||||
| Hotspots: Slides and Code TA Corner Comments? Announcements FAQ Static Webspace | ||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| Can you expand on 2 and 3? Is SQL only useful on large, complex tables? What does a join do? Mark Guzdial |
| BTW, nice job emphasizing relational databases. There are other kinds, but modern databases are relational and that's what SQL works on. Mark Guzdial |
| What's a "structure" in a relational database? There are only "tables" in relational databases. Could you provide a more detailed description of what a join does? Mark Guzdial |
| That's true. So, for example, if you had a student name, student ID, and student address in one "Students" table, and a separate "Transcripts" table with student ID and classes and grades information, you could get the student name for a given transcript by JOINING the two tables on the Student ID – that's the one field that's in both, so that you can relate the student ID of a given transcript back to the student name. Mark Guzdial |
| SQL is used for many kinds of relational databases, but I don't think it's used for other kinds of databases. Mark Guzdial |