Anzeige

----- Display names of students- who received an F as their final grad.docx

pjoseph6
30. Jan 2023
----- Display names of students- who received an F as their final grad.docx
----- Display names of students- who received an F as their final grad.docx
Nächste SlideShare
- (TCO F) When comparing corporate and individual taxation- the follow.docx- (TCO F) When comparing corporate and individual taxation- the follow.docx
Wird geladen in ... 3
1 von 2
Anzeige

Más contenido relacionado

Más de pjoseph6(20)

Anzeige

----- Display names of students- who received an F as their final grad.docx

  1. ----- Display names of students, who received an ‘F’ as their final grade in winter 2013. Use a join using JOIN…ON syntax. -----Display the titles of all courses taught by Professor Sen ----- Find all New York and New Jersey students. Display student ID, last name, first name, and state. Solution 1. Display names of students, who received an ‘F’ as their final grade in winter 2013. Use a join using JOIN…ON syntax. select firstname,lastname, from (student join Grade using (ID )) where STUDENT.Student.ID=GRADE.student_ID AND GRADE.final grade='F' and GRADE.Exam='winter 2013' -------------------------------------------------------------------------------------- 2. let us consider two relations courses and instructors 1. COURSES (course_id,course_title) ; 2. INSTRUCTORS (course_id (foreign key), prof_id, prof_name) ; -Display the titles of all courses taught by Professor Sen Select course_title from COURSES C, INSTRUCTORS I WHERE C. course_id=I.course_id and I.prof_name='Sen';
  2. __________________________________________________ 3.Find all New York and New Jersey students. Display student ID, last name, first name, and state. lets consider student relation: Student(student_id,firstname,lastname,mname,age,course,state); select student_ID, lastname, firstname,state from STUDENT WHERE state='New York' OR state='New Jersey';
Anzeige