Cim.saddleback.edu has a mySQL database available for you. You may use your own database: MySQL, SQL server, Oracle or IBM, but you must still hand in all assignments using the submit command. In addition, all quizzes , except first few are based on the MySQL textbook. You have until the last day of class to turn in assignments. However, refer to syllabus on key dates for completing assignments. | ||
Initial assignment are geared to make the book easier to read. | ||
# | Description | Tentative Due Date |
---|---|---|
1 | Login to blackboard watch the orientatiation video, then take Quiz 0, you may want to also watch the Web-Cast buzzword video, and Complete this questionnaire. Consult this file for login information |
Week 1 |
2 | submit tutorial.sql, login in to blackboard; you will need to watch all tutorial.sql assignment videos. |
Week3 |
3 | submit fruitcmds.sql, login in to blackboard; you will need to watch all fruitcmds.sql assignment videos. The videos will assume you can login to your cim.saddleback.edu account, the file fruitcmds.sql is in your cim home directory, (you also have a backup copy of the file fruitcmds.sql.bak); This file has 20 MySQL commands you are to figure out what each command does; Blackboard has a set of videos to help you with this assignment. Once you have figured out what a command does add a comment line before the MySQL command. You may add blank lines, and # comment lines. When you have entered comments for all 20 commands (I have done the first one); type 'submit fruitcmds.sql' at a linux prompt. Note you can cut and paste commands one at a time into MySQL client interface but you must do each command sequentially (i.e., command n + 5 may depend on command n) |
Week5 |
4 | phpMyAdmin Advance, complete the two online blackboard video sets: phpMyAdmin and PHPMyAdmin Advance. CIM225 students complete only the first phpMyAdmin video set. This is a report style assignment, you will be using the phpMyAdim application to create a fruit DB which is similar to book's premiere database. You must complete all steps outline in the viewgraph/videos. E-mail me your finished work in text or MSWord format (version 2003 or earlier). You will have to create a database graphic schema, which is done using the designer tab in PHPMyAdmin, use Alt^PrintScreen on the PC to capture the finished image. The steps you need to complete...
|
Week6 |
5 | submit select.sql, watch blackboard videos select.sql which teaches you how to use the submit command. The submit command includes an automatic grader for query based assignments. Video also complete queries 1 and 3 for the 11 queries you need to write. For this assignent you need to create 11 queries for these 11 comments...
If you want to work with a more complex database before starting the book, you can attempt this extra credit assignment. |
week 7 |
See Syllabus for Details on Course Grading. Book Assignments...
|
||
H1 | Read Chapter 1; Complete the premiere product exercises on page 21 questions 1..10, The ten questions in the book are listed after the next paragraph. The database we are using is online. Oonce you have completed it take Assignment Quiz One; which will verify that you have completed the assignment. Assignment one Quiz can not be repeated it will count as part of your quiz gradees. Using the results of Assignment quiz one and/or wait to you have completed chapter 3, submit p21.sql. (p21.sql is optional for Summer/09 Class)
|
Week 8 |
H2 | submit p58.sql -- Read chapter 2, drop all your fruit tables, then source the script /home/premiere/public_html/MySQL-Premiere, then using PHPMyAdmin designer tab, create the relationships between tables. finally submit p58.sql consisting of these seven Queries... You should probably use PHPMyAdmin to help you create the queries, especially the sorted ones. |
Week 9 |
Chapters 3..6 Book Assignments, have minor modifications. | ||
H3 | Read chapter 3, submit p87.sql; and submit p88.sql; For p87.sql write queries for this five comments...
For p88.sql write comments for these five queries...
For p88.sql once you submit it, it is e-mailed to me for grading. On p87.sql, you can keep resubmitting it until the auto grades gives you 5/5. |
Week 10 |
H4 | Read Chapter 4; submit p125.sql. Write MySQL commands to solve questions 1..21 on page 125. Proceed each command with a comment specifying the question number. | Week 11 |
H5 | Read Chapter 5; Chapter 5 on multiple tables is one of the hardest chapters; submit p157.sql, this consists of all Premiere Database queries, questions 1..20 pages 157-158, the following four questions have further clarification..
Hints Do not even attempt to try to join more than three tables, use sub queries first to determine customer_num from customer_name, and part_num from description. |
Week 13 |
H6 | Chapter 6 is relatively easy; submit p177.sql; write a SQL query for questions 1-10; Question 8 is two queries, 8 and 8b; Also added four display content of Table:NONAPPLIANCE queries, 2a, 5a, 7a and 9a. Note #2a, #5a, #7a, #9a and #8b are the five additional queries added to this assignment, The final Query list is...
|
Week 15 |
Extra Credit Assignments: Casino Databases and Chapters 7-8 Quizzes | ||
EC | submit - casinoNoJoin.sql, Details (i.e., creation scripts, drop table scripts, graphic schema, & data tables ) about the Casino Database are at http://cim.saddleback.edu/~premiere. This assignment can be completed as extra credit, even before you begin the book, but first complete the pre-book introductory fruit assignments. As the name casinoNoJoin.sql implies, you don't join tables to complete the queries. You get 1 bonus point for every 4 correct queries. | |
Chapter 7 Reports and Chapter 8 Embedded/PL-SQL Are Extra Credit; Plan on adding additon extra credit 2nd 8 weeks Spring 09, the other book databases and maybe the Casino database used in CS4B. |