Files
ITMO/DB/DBLab2/task1.sql
T

4 lines
376 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
SELECT Н_ТИПЫ_ВЕДОМОСТЕЙ.ИД, Н_ВЕДОМОСТИ.ДАТА FROM Н_ВЕДОМОСТИ
INNER JOIN Н_ТИПЫ_ВЕДОМОСТЕЙ ON Н_ВЕДОМОСТИ.ТВ_ИД = Н_ТИПЫ_ВЕДОМОСТЕЙ.ИД
WHERE (Н_ТИПЫ_ВЕДОМОСТЕЙ.ИД > 1) AND (Н_ВЕДОМОСТИ.ЧЛВК_ИД > 163249) AND (Н_ВЕДОМОСТИ.ЧЛВК_ИД = 117219);