J
J
Jazz Rock2017-01-23 15:01:26
SQL
Jazz Rock, 2017-01-23 15:01:26

SQL queries, SELECT statement. how to connect three tables and display data from them?

Hello, please help me with this request.
It is necessary to display in the query the names of students from the specialties "Management", "Economics", and the faculty in which students study. Sort students by faculties, specialties, surnames.
STUDENT With fields NMZ (primary key) KOD_S, F, I, O, STIP, BALL
NMZ - record book number
F - student's last name
I - student's first name
O - student's middle name
STIP - scholarship
BALL -
Specialty exam
score KOD_S primary key, KOD_F , NAZVANIE_S
KOD_S - specialty code
KOD_F - faculty code
NAZVANIE_S - specialty name
FAKULTET
KOD_F primary key
KOD_S - specialty code
NAZVANIE_F - faculty name
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Sharonov, 2017-01-23
@k_sharonov

INNER JOIN? The student needs to add a new field for communication. Code of specialty or faculty.

L
leremin, 2017-01-23
@leremin

And why is there a faculty code in the specialty, and a specialty code in the faculty?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question