Database Assignment Write down your answers in word document with file name highlighting your name, student number, and class. E.g “95002”+”_”+ “03 class”+”_”+”name”,

Slides:



Advertisements
Similar presentations
Murach’s Java SE 6, C21© 2007, Mike Murach & Associates, Inc.Slide 1.
Advertisements

Database Management: Getting Data Together Chapter 14.
Inclass Test Revision Database Technology Level I Lecture and Seminar Revision.
Databases From A to Boyce Codd. What is a database? It depends on your point of view. For Manovich, a database is a means of structuring information in.
MYSQL and SQLite in Android Apps Mike Freedman. Uses Ability for your app to store new data and receive it later – Game Scores – Contact information –
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
SQL HW1 Turn in as a hardcopy at the start of next class period. You may work this assignment in groups.
Data Manipulation 11 After this lecture, you should be able to:  Understand the differences between SQL (Structured Query Language) and other programming.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
Learningcomputer.com SQL Server 2008 – Entity Relationships in a Database.
MS Access Database Connection. Database? A database is a program that stores data and records in a structured and queryable format. The tools that are.
CIS 103 — Applied Computer Technology Last Edited: September 17, 2010 by C.Herbert Using Database Management Systems.
Constraints  Constraints are used to enforce rules at table level.  Constraints prevent the deletion of a table if there is dependencies.  The following.
Page 1 Topic 4 Relational Databases CPS510 Database Systems Abdolreza Abhari School of Computer Science Ryerson University.
Databases From A to Boyce Codd. What is a database? It depends on your point of view. For Manovich, a database is a means of structuring information in.
PHP and MySQL CS How Web Site Architectures Work  User’s browser sends HTTP request.  The request may be a form where the action is to call PHP.
Relational Databases (MS Access)
Project Description and Requirement. Requirements We have 3 projects for choice with each project worth for 100 points. You are also encouraged to work.
CSE 154 LECTURE 14: MULTI-TABLE SQL QUERIES (JOINS)
CS 1308 Computer Literacy and the Internet
Relational Algebra CS420. Relation A relation is a two dimensional table that Rows contain data about an entity Columns contains data about attributes.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
1. Go to Assign Assist Assess Student Guide to Skill Builders Time required: 30 minutes 2. Go to the Log in page.
Component 4: Introduction to Information and Computer Science Unit 6a Databases and SQL.
What have we learned?. What is a database? An organized collection of related data.
Database revision.
Database Fundamentals CSC105 Furman University Peggy Batchelor.
Chapter 8 Database Redesign We only discuss complex sub-queries.
WXGE 6101 DATABASE CONCEPTS & IMPLEMENTATIONS. Lesson Overview The Relational Model Terminology of relational model. Properties of database relations.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management “Modern organizations are said to be drowning.
JOHN DOE PERIOD 8. AT LEAST 80% OF HUMANITY LIVES ON LESS THAN $10 A DAY.
Nov 2006 Google released the paper on BigTable.
There are two types of MySQL instructions (Data Definition Language) DDL: Create database, create table, alter table,,,. (Data Manipulation Language) DML.
MIS 3053 Database Design & Applications The University of Tulsa Professor: Akhilesh Bajaj RM/SQL Lecture 4 © Akhilesh Bajaj, 2000, 2002, 2004, All.
April 20022CS3X1 Database Design Normalisation (1) John Wordsworth Department of Computer Science The University of Reading Room.
Howard Paul. Sequential Access Index Files and Data File Random Access.
N-ary Relations & Their Applications. 2 n-ary Relations Let A 1, A 2, …, A n be sets. An n-ary relation on these sets is a subset of A 1 x A 2 x … x A.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. DATABASE.
Database to HTML and Back again A programmers tale.
BR SQL SUPPORT I have a legacy application and I don’t intend to rewrite it any time soon. Why should I be concerned with this?
NormalisationNormalisation Normalization is the technique of organizing data elements into records. Normalization is the technique of organizing data elements.
Starter Draw a mind map for topic 6 Databases. Objectives Revise topic CG3.6 Databases using various activities and ensure that topics covered are understood.
Chapter 8 Relational Database Design Topic 1: Normalization Chuan Li 1 © Pearson Education Limited 1995, 2005.
2b. Create an Access Database Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets 1.
Common SQL keywords. Building and using CASE Tools Data Base with Microsoft SQL-Server and C#
© 2016, Mike Murach & Associates, Inc.
CS422 Principles of Database Systems Course Overview
DBM 380(NEW) Education on your terms/tutorialrank.com.
POS 410 knowledge is divine-- snaptutorial.com. POS 410 Entire Course For more classes visit POS 410 Week 1 DQ 1 POS 410 Week 1 DQ.
Databases and Information Management
MS Access Database Connection
Database.
Databases: An Introduction
CMPT 354: Database System I
Database Design and Development
Databases and Information Management
Information Systems for Health:

Database Quizz I Write down your answers in word document with file name highlighting your name, student number, and class. E.g “95002”+”_”+ “03 class”+”_”+”name”,
Databases and Information Management
Updating Databases With Open SQL
DATABASE Purpose of database
Database SQL.
STRUCTURE OF PRESENTATION :
Updating Databases With Open SQL
Database Including Questions and Standard Answers TEACHER Database Including Questions and Standard Answers Examinee Scoring.
Presentation transcript:

Database Assignment Write down your answers in word document with file name highlighting your name, student number, and class. E.g “95002”+”_”+ “03 class”+”_”+”name”, like, “95002_03_Mike.doc”

Number 1(20%) Use one SQL statement to get the list of all the student names, whose every registered course has a score higher than 85. name  course  score Mike  DataBase   81 Jane  DataBase   86 Jane  Math    90 Tonny DataBase   83 Tonny  Math   100  

Number 2 (20%) Assume the student table has the following rows. Serial Number Sno Sname Cno Cname Score 1     2005001 Mike 0001   Math  99 2     2005002 John 0001   Math  89 3     2005001 Mike 0001   Math  99 Use one SQL statement to delete the records whose attributes are redundant except for Serial number.

Number 3(30%) Assume a database has the following tables. Teacher(Tno, Tname) describes the information concerning teachers Student(Sno,Sname,Sage,Ssex) stores the information about students Course(Cno,Cname,Tno) is the course table SC(Sno,Cno,score) has the scores 1. Use one SQL statement to get the list of student names, who at least registers one common course with student with Sno “95005” 2. Use one SQL statement to get the complete list of students, who registers only one course. Print their student numbers and names and order the list by student number.  

3. Use one SQL statement to get the list of courses, each of which is registered by every student.