Sei sulla pagina 1di 1

Introduction to SQL 1 | P a g e

ISYS114 Workshop 7
6.
a. SELECT *
FROM Student
WHERE StudentID < 50000;

Alternative if more fields in table, and all you want is ID and Name to
be displayed:

SELECT StudentID, StudentName
FROM Student
WHERE StudentID < 50000;

b. SELECT FacultyName Name of Faculty Member with ID Number
4756
FROM Faculty
WHERE FacultyID = 4756;

c. SELECT MIN SectionNo Smallest Section Number used in Semester 1
2008
FROM Registration
WHERE Semester = I-2008

The Registration Table will provide more up-to-date information
compared to using the Section table.

Potrebbero piacerti anche