s****e 发帖数: 1180 | 1 借宝地问个面试中的sql的问题。
We have two tables, students (student ID, student name, student age, student
zip) and courses (course name, course time) .
The information in the parentheses are the schema.
We want to get how many students enroll all the classes starting at 11:00 AM?
the interviewer mentioned something like many to many join.
the interviewer mentioned something like "dimensionalize" in SQL. I am
wondering who knows any SQL book on this, and can introduce it me?
Thank you so much for your consideration! | D******n 发帖数: 2836 | 2 这个两个tables咋join?
student
AM?
【在 s****e 的大作中提到】 : 借宝地问个面试中的sql的问题。 : We have two tables, students (student ID, student name, student age, student : zip) and courses (course name, course time) . : The information in the parentheses are the schema. : We want to get how many students enroll all the classes starting at 11:00 AM? : the interviewer mentioned something like many to many join. : the interviewer mentioned something like "dimensionalize" in SQL. I am : wondering who knows any SQL book on this, and can introduce it me? : Thank you so much for your consideration!
| s****e 发帖数: 1180 | 3 对我也这么想。应该要加column的。你觉得难吗?
【在 D******n 的大作中提到】 : 这个两个tables咋join? : : student : AM?
| a****g 发帖数: 8131 | 4 google sas sql joining
or there are detailed description in the SAS advanced prep
there should be a Key student ID in the courses table, which confused
dashagen, I guess.
student
AM?
【在 s****e 的大作中提到】 : 借宝地问个面试中的sql的问题。 : We have two tables, students (student ID, student name, student age, student : zip) and courses (course name, course time) . : The information in the parentheses are the schema. : We want to get how many students enroll all the classes starting at 11:00 AM? : the interviewer mentioned something like many to many join. : the interviewer mentioned something like "dimensionalize" in SQL. I am : wondering who knows any SQL book on this, and can introduce it me? : Thank you so much for your consideration!
| s****e 发帖数: 1180 | 5 答案在这里。
http://www.mitbbs.com/article_t0/Database/31183043.html
【在 a****g 的大作中提到】 : google sas sql joining : or there are detailed description in the SAS advanced prep : there should be a Key student ID in the courses table, which confused : dashagen, I guess. : : student : AM?
|
|