Retrieve the names of all senior students majoring in 'COSC' (computer science). SELECT Name FROM STUDENT WHERE Major='COSC'

Slides:



Advertisements
Similar presentations
Dual Credit is an approved college course that can also count as a high school course COST EFFECTIVE : *****An Average tuition for 30 hours a year at.
Advertisements

Differences Between High School and College. Time Management in High School – You have a regular scheduled day from 8:10-3:35. Choosing Responsibly in.
BRIDGE YEAR ORIENTATION. Agenda  Welcome  The College Collaboration  Program Details  Questions & Answers.
Database System - Assignment #3 Sept. 2012Yangjun Chen ACS Assignment #3 due Wed., Nov. 14, (30) Exercise 7.17 on Page 235 Show the result.
Relational Algebra and SQL Exercises
MOC Biology Major Advising Guide Department of Math and Science Freshman Year Fall (11sh) –BIO 120 Principles of Biology I & Lab (4sh) –MAT 140 Pre-calculus.
Resolution about Pay for Adjuncts and Full-time Faculty Faculty Senate May 3, 2005.
Relational Algebra and SQL Exercises Dr. Shiyong Lu Department of Computer Science Wayne State University ©copyright 2007, all rights.
Relational Algebra and SQL Exercises
BACS 485 Structured Query Language 2. BACS 485 SQL Practice Problems Assume that a database named COLLEGE exists. It contains the tables defined below.
Company Database. CREATE TABLE DEPARMENT ( DNAME VARCHAR(10) NOT NULL, DNUMBER INTEGER NOT NULL, MGRSSN CHAR(9), MGRSTARTDATE CHAR(9), PRIMARY KEY (DNUMBER),
Dual Master of Science in Engineering Management (MSEM) A Collaborative Program between KING SAUD UNIVERSITY (KSU) and MISSOURI UNIVERSITY OF SCIENCE &
McMillan’s Quizzes Multiple choice, open book, open notes Not open computers, not open classmates Partial credit: if less than half the class gets a question.
Copyright © 2004 Pearson Education, Inc.. Chapter 1 Introduction and Conceptual Modeling.
 Kent State University  Youngstown State University  Stark State College.
Dual Credit Get a head start your college career Presentation 8/11/2015.
Instructor :Huda Al-Omair
 Senior timeline  Graduation Plans  College Information  Career Planning  College Selection & Admissions  SAT & ACT  Financial Aid.
©Silberschatz, Korth and Sudarshan1Database System Concepts - 6 th Edition E-R Diagram for a University Enterprise.
Rising 9 th Grade Informational Meeting Accepting Carnegie Units in Middle School.
Postsecondary Plan & Selecting Classes 12 th Grade Planning #2.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
To make your future better we put two great symbols together 2011 GE-ACE Information Visit.
Why Be a Chemistry Teaching Assistant? “Professional” interaction with professors and other students Valuable experience (bolster your resume) Learn and.
Electrical and Computer Engineering Senior Honors Course Overview EE EE4982 Instructor: Professor David J. Lilja Electrical and Computer.
Lecture 8 – SQL Joins – assemble new views from existing tables INNER JOIN’s The Cartesian Product Theta Joins and Equi-joins Self Joins Natural Join.
Science Course Offerings and Sequences. Choices for 9 th Grade CP Biology CP Biology Accelerated Biology Accelerated Biology.
Figure 1. Animal science (food animals), equine science and total* departmental majors since the establishment of the equine major in *does not include.
AP-COMPUTER SCIENCE MRS. NALBANDIAN. AP COMPUTER SCIENCE  COLLEGE BOARD APPROVED AP CURRICULUM  AP REVIEW BOOK  STUDENTS MUST SIT FOR EXAM TO RECEIVE.
Ivy Tech Dual Credit Program. What is the dual credit program? High school students get to earn high school and Ivy Tech college credits at the same time.
Industrial and Systems Engineering Overview of the Department and Honors Track.
Relational Database in Access Student System As always please use speaker notes!
Get Ready for Your Senior Year Class of 2013 Columbia High School White Salmon, WA.
ATTENTION: SEMESTER EXAM INFO! January 27 Period 1- 7:55 to 9:10 am Period 2- 9:25 to 10:40 am Period 3- 10:55 to 12:10 pm Busses depart at 12:15 pm.
Introduction to Database Systems
Courses NumNameDesc Record Field Table Credits. “PROJECT”“SELECT” Operators on Tables.
Declaring an Engineering Double Major/ Double Degree PRESENTED BY THE OFFICE OF UNDERGRADUATE ADVISING & ACADEMIC SUPPORT.
Academic-Eligibility Requirements Division - I To Receive an Athletics Scholarship and be able to Compete during your First Year: Graduate From High School.
1 Schema for Student Registration System Student Student (Id, Name, Addr, Status) Professor Professor (Id, Name, DeptId) Course Course (DeptId, CrsCode,
Graduate Instruction Methods Fall 2008 Being a successful TA Cesar D. Guerrero Department of Computer Science and Engineering October.
Student Responsibilities. Advising  To consult their advisors on all matters pertaining to their academic careers, including changes in their programs.
You need certain courses to graduate (“graduation requirements”). You need certain courses to get into post-secondary programs and classes (“pre-requisites”).
WELCOME TO YOUR SENIOR YEAR… Class of Know Your School Counselor School Counselors: Ms. Hanley (A-Fi) Mr. Farley (Fl-La) Ms. Schuster (Le-Ri) Ms.
Accelerated B.S./M.S An approved Accelerated BS/MS program allows an undergraduate student to take up to 6 graduate level credits as an undergraduate.
Course Introduction 공학대학원 데이타베이스
Kentwood Registration –Freshman and Sophomore
Introduction to Computing
CS 480: Database Systems Lecture 12 February 11, 2013.
Chapter 3 Introduction to SQL(3)
COM Masters of Science in Medical Science Master’s Examination*
Where we are. Where we are Where we are Programs University Transfer Programs 1st & 2nd year university courses Associate Degree Programs Completion.
GRADE ANALYSIS SYSTEM WBS
Fast Forward Dual Credit program.
MEEN Engineering Honors (EH)
Diesel Tech Academy- Diploma Track
Relational Schemas Classroom (building, room-number, capacity) Department (dept-name, building, budget) Course (course-id, title, dept-name, credits) Instructor.
Pop Quiz! Stuff you should know….
Kentwood Registration -Juniors
SAMPLE SENIOR HS SCHEDULE
Are you planning on doing a project in Math 124
Norman Public Schools Athletic Department
Relational Algebra and SQL Exercises
Course Selections and Graduation requirements
Mathematics Scheduling Recommendations and FAQs
1. Explain the following concepts: (a) superkey (b) key
C Programming Lecture 0 : Introduction
My Plan for Success Student Name.
Data science course in Bangalore.
8th grade Physical Science Fall Final data
Presentation transcript:

Retrieve the names of all senior students majoring in 'COSC' (computer science). SELECT Name FROM STUDENT WHERE Major='COSC'

Retrieve the names of all courses taught by professor King in 85 and 86. SELECT CourseName FROM COURSE, SECTION WHERE COURSE.CourseNumber=SECTION.CourseNumber AND Instructor='King' AND (Year='85' OR Year='86') Another possible SQL query uses nesting as follows: SELECT CourseName FROM COURSE WHERE CourseNumber IN ( SELECT CourseNumber FROM SECTION WHERE Instructor='King' AND (Year='85' OR Year='86') )

For each section taught by professor King, retrieve the course number, semester, year, and number of students who took the section. SELECT CourseNumber, Semester, Year, COUNT(*) FROM SECTION, GRADE_REPORT WHERE Instructor='King' AND SECTION.SectionIdentifier = GRADE_REPORT.SectionIdentifier GROUP BY CourseNumber, Semester, Year

Retrieve the name and transcript of each senior student (Class=5) majoring in COSC. Transcript includes course name, course number, credit hours, semester, year, and grade for each course completed by the student. SELECT Name, CourseName, C.CourseNumber, CreditHours, Semester, Year, Grade FROM STUDENT ST, COURSE C, SECTION S, GRADE_REPORT G WHERE Class=5 AND Major='COSC' AND ST.StudentNumber=G.StudentNumber AND G.SectionIdentifier=S.SectionIdentifier AND S.CourseNumber=C.CourseNumber

Retrieve the names and major departments of all straight A students (students who have a grade of A in all their courses). SELECT Name, Major FROM STUDENT WHERE NOT EXISTS ( SELECT * FROM GRADE_REPORT WHERE StudentNumber= STUDENT.StudentNumber AND NOT(Grade='A'))

Retrieve the names and major departments of all students who do not have any grade of A in any of their courses. SELECT Name, Major FROM STUDENT WHERE NOT EXISTS ( SELECT * FROM GRADE_REPORT WHERE StudentNumber= STUDENT.StudentNumber AND Grade='A' )