CIS 430/530 Database Systems and Processing (3-0-3) |
||
| Course Content |
|
|
|
Semester Schedule for Final Exams, Holidays, Last Days to Add and Drop: //a href="https://www.csuohio.edu/registrar/academic-calendar"> See University's Official Academic Calendar for the Semester and the Final Exam Schedules Final Exam Info: Final Exam Will Be on Wed May 6 at 6:00PM - 8:00PM in Class! See the Final Lectures to Focus on for the Final Here ! //a href="CIS430_FinalLinkOnly.html"> See the Links for the Final Subjects ONLY here !! (Scroll Down to the Lecture Note Section; All the links to the rest of the non-related lecture notes are disabled) The Subjects to Focus on for the Final Exam T/F Questions on: Aggregate Functions - Count, Sum, the Results of Count, SUM on Duplicates, Null values, Output of Group By and Aggregation Functions, Left Outer Join Result with Null values, How a View Is Updated When a Base table is changed, Difference Between View and Table, SQL Processing Algorithm with a Correlated Subquery One Question on Each Subject The Third Normal Form Normalization to Transform a Multi-Valued and Composite Attributes to Correct Relational Table Scheme (The Same Question from the Midterm) Complex SQL with Left Outer Join, Aggregation with Group By and Having, Correlated Subquery Given 2 tables, waht is the result of Left Outer Join, and Right Outer Join? Two ways to Save a SQL Result in a SQL Server: View, Insert into Select Stored Procedure to Create and Polulate a Table from a Query result, Extended Embedded SQL, Dynamic SQL (Prepared Statement) with JDBC/ODBC NOT for THIS SEMESTER: Calculation of Query Processing Cost in the Number of Block I/Os, How much the Number of Block I/O Can Be Reduced with Primary Index Clustered Index, Secondary Index Transaction for Concurrency Control - Understanding Begin Transaction, Commit, Abort, Roll Back in the Example of Two Concurrent Users' Transactions One Page Note Each Side is Allowed to the Final ! A Hand-Written (Should not Be Copy and Pasted from the Lecture Slides) Standard One Page Note Sheet (Front and Back) Is Allowed to the Final ! Typed/Printed or Copy and Pasted Lecture Notes are NOT Allowed. 18. Jan 12, 2026: The Midterm Will be Tentatively on Mach 18 in Class. It Will be Announced Ahead in Class. See the Topics to Focus on for the Midterm here: //a href="CIS430_MidtermLinkOnly.html"> Midterm Links Only (All the links to the rest of the non-related lecture notes are disabled) One Page Note is NOT allowed to the Midterm ! 15. Jan 12, 2026: It is Required to Attend Every Class ! Your Class Attedance Will be Checked in Each Class. There Will be Random Quizzes to Check the Attendance ! Only 5 - 10 Mins Will Be Allowed for Each Quiz. Those Who Come in Class Late After 5 Mins, They Will NOT Be Given a Quiz ! 14. Jan 12, 2026: The Lab Submission Link and the Deadline of Each Lab Will Be Posted on the Class BlackBoard ! Wait For Lab Submission Links To Be Created on Blackboard with Each Deadline to Submit Each Lab 13. Jan 12, 2026: Only the registered students can access the course blackboard. If you have a problem with your blackboard access, please contact the registar and CSU e-learning Tech Support to resolve the issue ! Faculty do not control your registration in the CSU Campus Systems and Access to the Course Blackboard. //a href="https://www.csuohio.edu/center-for-elearning/technical-support"> CSU Tech Support 9. Jan 12, 2026: TA Information: TA: Email:l.li15@vikes.csuohio.edu Office Hours (In-person): Monday & Wednesday, 3:00 PM – 5:00 PM Location: FH311 Send email to TA ahead to set up a time slot and to let TA know that you are coming Zoom ID (if needed for online meetings):824 2309 8929 //a href="https://csuohio.zoom.us/j/82423098929"> Zoom Link If you have questions in the Labs or Grading your Labs, Send an email to TA to See During the TA's Office Hours or Schedule a meeting in the TA's Zoom meeting Dr. Chung's Office Hours: Tues and Thursday 1:30PM - 3:00PM Email: s.chung@csuohio.edu (Send Me Email Ahead to Set Up a Meeting or a Zoom Meeting) Office: FH 222 or Zoom Meeting Meeting ID: 859 3867 6332 //a href="https://csuohio.zoom.us/j/85938676332"> Zoom Meeting Link 8. Jan 12, 2026: For the Installation Guides of MS SQL Server in Detail, See the Lab0 Section below ! To Install MS SQL Server on Window, a Mac or on Linux, Find the Instructions for Each OS in the Lab0 Section ! Read CAREFULLY all the Installation Guides FIRST before starting downloading ! See the Lab0 Section for More Details ! Read ALL the instructions regarding this in the Lab section including FAQs. Note that 2016, 2019 MS SQL Server Packages Do not Have the Client Software - SQL Server Management Studio (SSMS) Together. You have to Download it separately from the site specified and install it after Installing a SQL Server. Read the Instructions in the Lab0 Section First for This ! For more guides on installation of SQL Server, see the Lab Section ! If You Still Have Any Questions, Send Email to TA for Help 7. Jan 12, 2026: If You Don't Own Your Own Computer to Install a SQL Server: Use a MS Azure Cloud Service to Use a SQL Server Instance ! Go to Azure Cloud to Create SQL Server Instance Service. See the Lab0 Section to Read What/How to Do in more detail ! Read ALL the instructions regarding this in the Lab section including FAQs. If You Still Have Any Questions, Send Email to TA for Help 6. Jan 12, 2026: The Output of each lab is your report in Doc file that shows your screen captures of your SQL Server Management Studio showing that you wrote each SQL/DDL/DML and the server returned the correct results. Each of your screen capture must show your query and the result returned by the server respond of the query in the SAME window in your System to prove that your lab is done correctly in YOUR Server !! Lab Submission: See the Lab Section for the Detail Instruction on the Requirements to Create Your Lab Report !! -- Very Important !! 1) Submit your file in a Zip file that Includes all the SQL files (.sql) and Your Lab Report (.doc file) Showing each Screen Capture of Each Query Execution on Blackboard for a timestamp and as a proof. Please See the Lab1 Section for the detail instructions on How to Create Lab Report ! 5. Jan 12, 2026: The Lab Submission Link and the Deadline of Each Lab Will Be Posted on the Class Blackboard ! You Have to Start Working on Labs Before the Submission Link Are Created on Blackboard for Each Lab Submission. If You did an Extra Credit Part, Mention about What Part is Done for Extra Credit at the Front(Cover) Page of Your Report in Bigger and Bold Font ! Always Follow the Deadline of Each Lab Assigned on the Class Blackboard. The Deadlines mentioned on the Class Webpage Are Tentatively Scheduled at the Beginning of Each Semester. Please Mention Your Course Number When You Send Me an Email ! 4. Jan 12, 2026: Lab Assignment 0 : Prep for Lab Assignments Download Visual Studio, MS SQL Sever and its Client - MS SQL Management Studio (SSMS) and Install on Your Laptop From May 2019, Microsoft changed their platform to provide free download MS Software for CSU Students ! NEW INSTRUCTION from May 2019 ! How to Access MS Azure site to Download VS, MS SQL Server and Other Software 1. Go to www.portal.azure.com //a href="https://portal.azure.com/#home"> Azure Potal Site 2. Sign in with your CSU ID # and password. 3. In the box on top, where it says "Search resources, services and docs", type "Education". 4. Select "Education (preview)" from the list. 5. Select "Software" from the list in the upper left corner. 6. You should now be able to select from a variety of software, including Windows 10, Windows Server, Visio, Visual Studio, SQL Server, Project, Access, etc. 7. Lots of documentation is under the tab marked "Learning". For any questions on this site or creating your account in this site, send email to TA or Dr. Jackie Woldering (j.woldering@csuohio.edu) ! See Lab0 Section for Instructions to Download and Install SQL Server and Visual Studio on //a href="https://portal.azure.com/#home"> Azure Potal Site SQL Server Installation Guide: See Lab Section for the Detail :br> 1.Download and Installation of MS SQL SERVER Package : Read Instructions Carefully Below ! Any SQL Server Standard/Developers/Enterprise Version with Service Packs recommended Make Sure to Install a Matching Version of Visual Studio first before installing SQL Server (Please see installation Guide in the Lab section for the detail) Read the installation Guides in the Lab0 Section FIRST before Starting to download ! 2. After everything is set up correctly, Run SQL Server Management Studio - a Client for your SQL Server (It is Under Microsoft SQL Server of your Start menu of your Window) to Play with Your SQL Server 3. If your SQL Server is not running (You don't see the green arrow on your server name on the Top Left corner of your SQL Server Management Studio), Start the server manually in your SERVICE list - Search with "Service" to find the list. (Read the General Installation Instructions for this in the Lab0 Section !) 3. Jan 12, 2026: For New Students, You Have to Create Your Account in Azure Potal site to Download MS Software -- Visual Studio, Window SQL Server How to Create Your Account to Login the Azure Potal Site to Download MS SQL Server 1. Go to www.portal.azure.com //a href="https://portal.azure.com/#home"> Azure Potal Site The students MUST use a vikes.csuohio.edu or csuohio.edu email address! Note that the students should use CSUID@vikes.csuohio.edu, not f.lastname@vikes.csuohio.edu. So, for example, 2345678@vikes.csuohio.edu, rather than m.jones@vikes.csuohio.edu. Education Hub This is where your students can download their software. 1) Please clear the cache, cookies and browsing history. Then using Internet Explorer or Microsoft Edge, please enable the In-private browsing by pressing CTRL + Shift + P on the Keyboard or, for Chrome CTRL + Shift + N. 2) Go to https://portal.azure.com/#view/Microsoft_Azure_Education/EducationMenuBlade/~/overview or https://azureforeducation.microsoft.com/devtools (to be redirected to the current Azure site For the old MS Imagine program) Azure Software for Teaching This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more at azureforeducation.microsoft.com then click the blue sign in button. 3) Enter your email address then hit Next. 4) Enter the password then Sign In. 5) Once signed in, it should take you to the Student Verification page. Please enter your school email address twice and a verification link will be sent to your email. 6) Copy and paste the link to a new tab then hit continue. 7) Please agree to the Terms and Conditions. After completing the above mentioned steps, you should be able to access the Azure portal. Send an email to TA or Dr. Jackie Woldering (j.woldering@csuohio.edu) for any questions 1. Jan 12, 2026: The Link to this class webpage is in the Announcement of the Class Blackboard. If you have a trouble to display the webpage correctly with MS Internet Explorer, open it with Google Chrome Each Semester Schedule for Final Exam, University Holidays, Last Days to Add and Drop: //a href="https://www.csuohio.edu/registrar/academic-calendar"> See University's Official Academic Calendar for the Semester and the Final Exam Schedules Final Exam schedule for Spring 2026 Class: May 6 Wed 6:00p-8:00PM in Class ! Midterm Exam Info: //a href="CIS430_MidtermLinkOnly.html"> See the Links for the Midterm Subjects ONLY here !! (All the links to the rest of the lecture notes are disabled) For Fall Semesters, The Midterm will be Tentatively on Wed Oct 16. (Will be announced in class) For Spring Semesters, The Midterm will be Tentatively on Wed March 18. (Will be announced in class) For Summer Semesters, Midterm will be Tentatively on the 4th Week of Tuesday or Thursday. (Will be announced in class) Topics to Focus on for the Midterm: Chapter 1, 2, 3, 4 and E-R Modeling Lecture Notes Architecture of SQL Server to Maintain Meta data and Data values, What SQL Server Does When Any DDL is Submitted All the Database Constraints : PK Constraint, Entity Constraint (Not Null Constraint), Two Properties to Choose a Correct PK attributes, FK Constraint Correct Transformation Rules for Multi-Valued, Composite Attributes, 5 different Relationship Types: 1-1, 1-N, N-M, Weak Relationship, Unary 1-N First and Third Normal Form Transformation rules Basic SQL Syntax: SQL Join, Union One Page Note Is NOT Allowed to the Midterm ! CIS430/530 Midterm Exam Question Types and Patterns: Closed Book. There will be about 6-7 Questions. Q1: 10 small T/F questions on facts on Architecture of RDBMS, Sql Server, DDL, DML, SQL Syntax, Database Constraints The rest of the 5 Questions are all short answer questions on problem solving with a simple small example. For example, per given a block of E-R diagram, write DDL to transform the E-R diagram to a correct Database scheme. 1-2 Questions for writing SQL. Final Exam Info: Final Exam of Spring 2026 Will Be On: Wed May 6 at 6:00PM-8:00PM See the Links for the Lecture Notes to Focus on for the Final Here ! //a href="CIS430_FinalLinkOnly.html"> See the Links for the Final Subjects ONLY here !! (Scroll Down to the Lecture Note Section; All the links to the rest of the non-related lecture notes are disabled) The Subjects to Focus on for the Final Exam T/F Questions on: Aggregate Functions Count, Sum Results on Duplicates, Null values, Output of Group By Column on the Left Outer Join Result with Null values, How a View Is Updated When a Base table is changed, Difference Between View and User Base Table, SQL Processing Algorithm with a Correlated Subquery One Question on Each Subject The Third Normal Form Normalization to Transform a Multi-Valued and Composite Attributes to Correct Relational Table Scheme (The Same Question from the Midterm) Complex SQL with Left Outer Join, Aggregation with Group By and Having, Correlated Subquery What is the result of Left Outer Join? Two ways to Save a SQL Result in a SQL Server: View, Insert into Select Transaction for Concurrency Control - Understanding Begin Transaction, Commit, Abort, Roll Back in the Example of Two Concurrent Users' Transactions Stored Procedure to Create and Populate a Table from a Query result, Extended Embedded SQL, Dynamic SQL (Prepared Statement) with JDBC/ODBC calculation of Query Processing Cost in the Number of Block I/Os, How much the Number of Block I/O Can Be Reduced with Primary Index Clustered Index, Secondary Index A Hand-Written (Should not Be Copy and Pasted from the Lecture Slides) Standard One Page Note Sheet (Front and Back) Is Allowed to the Final ! Typed/Printed or Copy and Pasted Lecture Notes are NOT Allowed. One Page Note Each Side is Allowed to the Final ! |
|
Lab0 :Installation of MS SQL Server and Its Client MS SQL Server Management Studio (SSMS) (Due by the End of the Second Week) Submit the screen captures (in doc file) of your SQL Server (Named after your Computer Name) running in your client SSMS Window at the beginning of Lab 1 Report ! Read all the instruction Guides below FIRST before Starting Downloading! General Things to Know for SQL Server Installation: You Need to Install the following in the order: 1. MS Visual Studio 2019 or higher 2. 2019 MS SQL Server Developer Version (MS SQL Server) or higher 3. MS SQL Server Management Studio (Client for MS SQL Server) Any MS SQL Server Standard/Developers/Enterprise Version Recommended. No Express Version ! Make Sure to Install a Matching Version of Visual Studio First Before Installing 2019 or 2022 MS SQL Server //a href="https://visualstudio.microsoft.com/vs/older-downloads"> Where to Download and Install MS Visual Studio 2022 or 2019 Community Version Note that Visual Studio 2019 Needs to Be Installed First Before Installing 2019 SQL Server. //a href="HowtoInstallVS2019.pdf"> Where and How to Download and Install MS Visual Studio 2019 Install 2022 Visual Studio for 2022 SQL Server //a href="How to Download and Install Visual Studio 2022 for Windows.pdf"> Where and How to Download and Install MS Visual Studio 2022 Prepared by TA Dharmik Rajesh Kurlawala How to Download and Install 2019 or 2022 Microsoft SQL Server Developer’s Version on Window 10 (If You Had Already Installed Any Older Version of MS SQL Server Running on Your Computer, No Need to Install Another SQL Server !) New Changed Installation Guides As of Dec 2022: You Need Window 10 or 11 and Visual Studio 2019 or Higher to Install 2019 SQL Server ! You Need Window 10 or 11 and Visual Studio 2022 to Install 2022 SQL Server ! Instructions for Downloading and Installation of SQL Server 2019 or 2022: Where to Go to Download a MS SQL Server Developer Version: NOTE That There Are TWO Sites to Download a MS SQL Server ! 1. Azure Potal Education site for CSU Students: You Can Download 2019 SQL Server Developer Package From Microsoft Azure Portal Site Below: //a href="https://portal.azure.com/#home"> Azure Potal Site Choose(or Search) Education (with Your Azure Account Credential Created with Your CSU ID and PW) //a href="https://portal.azure.com/#blade/Microsoft_Azure_Education/EducationMenuBlade/overview"> From MS AZURE Portal Site => Education Menu for CSU Students How to Download and Install Microsoft SQL Server 2019 Developer and its Client - MS SQL Management Studio (SSMS) from AZURE Portal Site: (MOST RECENT Instructions as of Jan 2023) !! //a href="https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver16"> Where/How to Install a Client - SQL Management Studio (SSMS) *************** //a href="https://learn.microsoft.com/en-us/ssms/install/install?redirectedfrom=MSDN"> Where/How to Install a Client - SQL Management Studio (SSMS) (as of Dec 2025) *************** //a href="InstallationGuideSQLServer2019fromAzure.pdf"> Step by Step Guides for Installation of Microsoft SQL Server 2019 and the Client - SQL Management Studio (SSMS) *************** IMPORTANT NOTE !! Do NOT Choose PolyBase OPTION //a href="NewErrorTips_InstallationGuideSQLServer2019.pdf"> NEW ERROR !! Do Not Select PolyBase Feature to Avoid Any Installation Errors Caused by the Recent MS Update What To DO When the Installation Went Wrong and You want to Remove them to Reinstall: DO NOT Try to Delete the Files by Yourself Manually !! //a href="HowToRemoveSQLServerInsatlled.pdf"> How to Remove SQL Server and Its Client Software from My Laptop ************************* Client SSMS Installation: //a href="https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver16"> Where/How to Install a Client - SQL Management Studio (SSMS) *************** //a href="https://docs.microsoft.com/en-us/sql/ssms/tutorials/lesson-1-1-start-sql-server-management-studio"> How to Use a MS SQL Server Client - SSMS (MS SQL Server Management Studio) NEW POST !! OR Another MS Site to Download for SQL Server 2025 Integrated with Data Warehouse (Analysis Service) and Data Science Integration Server Package 2. Microsoft Download site for 2025 SQL Server Package (This includes 2025 SQL Server, Analysis Service (DW), and Data Integration Service (Data Mining) all as a Package As of Dec 2025, Only 2025 SQL Server Developer Edition is Available to Download Free in This Site! (You Can No Longer Choose 2022 Anymore !) //a href="https://www.microsoft.com/en-us/sql-server/sql-server-downloads "> Microsoft Downloading Site //a href="How to Download and Install SQL Server 2025 for Windows.pdf"> How to Download and Install SQL Server 2025 for Windows (By TA Lei Li) ************************************** You can download either 2022 or 2025 SQL Server in Window Container here ! 2022 or 2025 SQL Server in Window Container: //a href="https://learn.microsoft.com/en-us/sql/database-engine/install-windows/install-sql-server?view=sql-server-ver16&culture=en-us&country=us "> Microsoft Downloading Site for 2022 or 2025 SQL Server in Window Container //a href="Installation Guide SQL Server 2025 on Docker for Window.pdf"> How to Install 2025 MS SQL Server on Docker on New Mac OS (By TA Lei Li) ******************** 2022 SQL Server Developer From this site, you can get a bundled Package of SQL Server (with all Other BI Servers together to Install) For Step by Step Installation Guide for SQL Server 2022 Developer Edition Downloaded from this site See Below for Installation of MS SQL Server 2022 (Developer Version) and Its Client - MS SQL Management Studio (SSMS), and How to Use SSMS to Create the First Database and a Table //a href="SQL_Server2022_Installation_Guide_BasicOptionNoPolyBaseWithTips.pdf"> How to Download and Install a 2022 SQL Server with Basic Option Without PolyBase (from MicroSoft Download Site) (RECOMMENDED) ********************* You Can Choose Either Custom or Basic Option in this installation. Basic Option Without PolyBase is recommended !! //a href="SQL_Server2022_2019_Installation_Guide_CustomOptionWithTips.pdf"> How to Download and Install a 2022 SQL Server with Custom Option (from MicroSoft Download Site) //a href="New Installation Steps 2022 SQL Server Package_AS_DT.pdf"> The Newest Full Instruction for 2022 SQL Server, Analysis Service and Integration Service: How to Download and Install a 2022 SQL Server from MicroSoft Download Site Another Step by Step Installation Guide for SQL Server 2019 Developer Edition Downloaded from This Site //a href="https://computingforgeeks.com/install-sql-server-developer-edition-on-windows-server/"> Installation Guide of SQL Server 2019 Developer Edition How to Install MS SQL Server on Mac: Instructions for the NEW Version of MAC OS AFTER 2021: The new M1/M2 chips or Apple Chip in the recent MAC does not support any VM installation for MS SQL Server since it has issues with VM. The best way is to install Docker as it is free for individual and easy to configure. Please see the Instruction for Docker below. Newly Changed Docker Installation Procedure for MAC: //a href="Installation Guide SQL Server 2025 on Docker for Window.pdf"> How to Install 2025 MS SQL Server on Docker on New Mac OS (By TA Lei Li) ******************** //a href="INSTALLATION GUIDE FOR SQL SERVER ON MAC OS.pdf"> How to Install 2022 MS SQL Server on Docker and Client Software (Azure Data Tool) on New Mac OS (By TA Dharmik Rajesh Kurlawala) ******************** IMPORATANT NOTE !! DO NOT COPY and Paste blindly the set up command from the Instruction !! You need run that one docker command with YOUR OWN USER ID and Password !!!!! The "PASSWORD = YOU CAN ENTER YOUR OWN" and "MSSQL_USER = ... " lines are just there to let you know that you can substitute your own values for the PASSWORD and MSSQL_USER environment variables if you wish. Those are the credentials you'll use when connecting to the database. IMPORTANT NOTES !! Those Docker instructions work on Linux. However, copy-pasting from the PDF might add some line breaks to your command, so I'd suggest you copy-paste the following version into a terminal: docker run -e "ACCEPT_EULA=1" -e "MSSQL_SA_PASSWORD=MyPassword123#" -e "MSSQL_PID=Developer" -e "MSSQL_USER=SA" -p 1433:1433 -d --name=sql mcr.microsoft.com/azure-sql-edge PREVIOUS YEARS' Instructions (These might NOT be working anymore in the NEW version): You need only run that one docker command. The "PASSWORD = YOU CAN ENTER YOUR OWN" and "MSSQL_USER = ... " lines are just there to let you know that you can substitute your own values for the PASSWORD and MSSQL_USER environment variables if you wish. Those are the credentials you'll use when connecting to the database. //a href="Docker_Mac_SQL_Server2022_ClientAzureDataTool_InstallationGuides.pdf"> How to Install 2022 MS SQL Server with Container and Client Software (Azure Data Tool) on New Mac OS with Intel M1 or M2 Chips //a href="Docker_SQL_Server2022_Installation_Guide_CustomOptionWithTips.pdf"> How to Install 2022 MS SQL Server with Docker on New Mac with Apple Chip //a href="https://www.youtube.com/watch?v=9c7Ti2OcLZg&ab_channel=DataWithDominic"> How to Install MS SQL Server on Macbook with Intel Chips M1 and M2 If you can not set up a Docker, please craete a Azure Cloud SQL Server instance. Please see the instructions in the Azure Cloud section far below at the end of the Installation section. The old Mac that are comtatitble with VM, you can follow the instruction for VM set up below. Old Mac before 2021: Installation of MS Sql Server in Docker For Old Mac: //a href="https://www.quackit.com/sql_server/mac/install_sql_server_on_a_mac.cfm"> How to insall SQL Server on Mac Or Instructions ONLY for the OLD Version of MAC OS Before 2021: 1. Install Mac OS X Host VM(Virtual Machine) from //a href="https://www.virtualbox.org/"> Oracle VM //a href="https://www.virtualbox.org/wiki/Downloads"> Oracle VM Download 2. Install Window 10 OS on the VM on your Mac then 3. Install Visual Studion on Window 10 OS on the VM on your Mac then 4. Install MS SQL Server on the Window VM. For Linux: If you want to install a SQL Server on Linux, download and install Open Source PostgreSQL directly to your Linux system. //a href="https://www.postgresql.org/"> PostgreSQL to download //a href="https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-20-04"> How to Install PostgreSQL on Linux (Digital Ocean Tutorial) //a href="Steps to Install PostgreSql on Linux.pdf"> Information to download and Install for PostgreSQL and Client Tools Tips by TA Collin: It is important to remember to switch to the "postgres" Linux user before performing administrative tasks. This is covered in the DigitalOcean guide above, where a new database and Linux user account are created with the same name. Client Software to Download for Postgresql: //a href="https://www.jetbrains.com/datagrip/"> Data Grip: Client Tool for PostgreSQL //a href="https://dbeaver.io/"> DBBeaver: Client Tool for PostgreSQL PostgreSql Tutorials: //a href="https://www.commandprompt.com/education/postgresql-basic-psql-commands/#1"> How to Switch a Database in PostgreSQL //a href="https://www.postgresql.org/docs/current/app-psql.html"> Command list in PostgreSQL How to Install MS SQL Server Directly on Linux (NoT For This Course; Recommended Only for Advanced Users) //a href="https://learn.microsoft.com/en-us/windows-server/administration/linux-package-repository-for-microsoft-software"> How to Install MS SQL Server on Linux //a href="Installation_MSSQLServer2022_UbuntuLinux.pdf"> How to Install MS SQL Server on Linux Tips for What To Do After Installation Read the installation Guides in the Lab0 Section FIRST for Starting to download ! 1. Make Sure to Install a Matching Version of Visual Studio first before installing SQL Server //a href="HowtoInstallVS2019.pdf"> Where and How to Download and Install MS Visual Studio 2019 Note that Visual Studio 2019 Needs to be Installed First Before Installing 2019 SQL Server. 2. After everything is installed and set up correctly, Run SQL Server Management Studio - a Client for your SQL Server (It is Under Microsoft SQL Server of your Start menu of your Window) to Play with Your SQL Server 3. If your SQL Server is not running (You don't see the green arrow on your server name on top left corner of your SQL Server Management Studio), Start the server manually in your SERVICE list - Search with "Service" to find the list. (Read the General Installation Instuctions for this in the Lab0 Section !) The Client Software - MS SQL Server Management Studio (SSMS) Together. It will be installed together at the end of installation of 2019 SQL Server. See 2019 SQL Server Installation Guides for Installation of the Client SSMS How to Use the MS SQL Client - MS Sql Server Management Studio (SSMS) to Connect to Your SQL Server: //a href="https://docs.microsoft.com/en-us/sql/ssms/tutorials/lesson-1-1-start-sql-server-management-studio"> How to Use SQL Server Client - MS Sql Server Management Studio (SSMS) NEW POST ! //a href="HowToUseClientSSMS.pdf"> Guide for How To Use a Client - SSMS If You Need to Download the Client Software SSMS Alone Seperately from the MS Download site, then Install SSMS after Installing a SQL Server. See the new instruction ! Download and Install the Client: SQL Server Management Studio (SSMS) //a href="https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms"> Download SSMS If you want to use MS SQL Server with Naive Client - SQLCMD (Command Line Client): Azure Cloud What To Do If My Laptop Died In the Middle of Lab Due: Creating a Database Server Instance on AZURE Cloud: Step1: Get a Free Student Credit to Use an AZURE SQL Server Instance //a href="Howto_Apply_Azure_Free_Student_Account.pdf"> How to Apply an Azure Free Student Account to Create a Database Server in Azure Cloud Service (Updated by TA Kajal and Margish on August 2023) Step2: Create a AZURE SQL Server Instance for You to Use for Labs //a href="https://docs.microsoft.com/en-us/azure/azure-sql/database/single-database-create-quickstart?tabs=azure-portal"> Quick Tutorial: How to Set Up and Create a Database on Azure Cloud Other Azure Tutoral Sites: //a href="https://azure.microsoft.com/en-gb/resources/videos/create-sql-database-on-azure/"> Quick Tutorial: How to Create a SQL Database on Azure Cloud //a href="https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-get-started-portal"> Quick Tutorial: Getting Started : How to Set Up and Create a Database on Azure Cloud //a href="https://azure.microsoft.com/en-us/get-started/webinar/on-demand/"> Tutorial: How to Create a SQL Database on Azure Cloud Step3: Get a Client to Access Your AZURE SQL Server //a href="https://docs.microsoft.com/en-us/azure/azure-sql/database/connect-query-ssms"> Quick Tutorial: How to Use SSMS to Connect to and Query Azure SQL Database or Azure SQL Managed Instance //a href="AzureQueryEditorSetUp.pdf"> FAQs and Azure Query Editor Set Up You can choose Any Client tool available to access your cloud SQL Server If you have any questions or help on the insatllation and set up, please send email to TA ! Important Notes on Use of Azure Cloud Server The Azure cloud server was suggested as the LAST resolution, it is not recommended as a primary system for CIS430. It was suggested as an emergency resolution ONLY when you don't have your own computer system to download, install and set up your own database server or when there is any accidental non-recoverable crash of your system. We don't control the MS Azure account at all, which means we cannot help you with the unusual issue on MS Azure student credit accounts or a trouble to obtain the free student credit account. That is something you have to resolve with Microsoft Azure team, it is NOT something we can help with. Note that You do NOT need to request and use a database server from Azure Cloud for CIS430 if you have a laptop to download and set up your own databbase server. Azure Cloud DB Server is just a backup plan when you don't have any computer to download (from Education site of Azure portal site and Azure portal site is NOT Azure Cloud Service) and set up your own database server and a client for CIS430. 2GB storage is needed when you actually download the server physically in your laptop to install. You don't download and install the database server physically by yourself when you request to use an Azure Cloud database server since it is already installed and running on their Azure Cloud site. You only need to go to the site to use their client site or download their client: Query Editor to connect and login to your database server running on Azure Cloud site. So there are NO installation issues when you use a database server you requested on Azure Cloud Server. Don't wait for MS Azure site to fix your problem. Looks like MS changed $100 free student credit policy partially, instead, they provide $200 free credit to try their new COSMO DB on Azure Cloud. I do not recommend it in this course since Cosmo DB is for Semi-structured DB for Big Data. Please use your server you installed and set up on your laptop for CIS430/530. If You Can NOT Install a MS SQL Server or a Use Azure SQL Server Instance, You Can Install MySQL for This Course. However MySQL (the common stand-alone version) is not a Full Enterprise Level Database Server. It is your own risk for the differences coming from MySql's limitation MS SQL Server is Recommended for this Course to Learn a Full Enterprise Level of Database Systems . Installation Guides for MySql Server: //a href="https://www.mysql.com/downloads/"> MySql Download //a href="https://dev.mysql.com/doc/refman/5.7/en/installing.html"> MySql Download and Installation //a href="https://dev.mysql.com/doc/refman/8.2/en/tutorial.html"> MySql Tutorial //a href="https://dev.mysql.com/doc/refman/5.7/en/creating-database.html"> How to Create MySQL Database MySql Tutorial: FAQs: FQAs on Installation of SQL Server as of 2022 Q: There is only VS Community version is available, is it ok with SQL 2019 Server to install? A: It is ok as long as VS Community version is updated to 2019. Note that MS VS Community version is the least featured, it is NOT the VS 2019 which is a Enterprise (Professional) Version. The VS 2019 is best with 2019 SQL Server. Please follow the instructions. You can download VS 2019 at Azure Potal -> Education site below //a href="https://portal.azure.com/#blade/Microsoft_Azure_Education/EducationMenuBlade/overview"> AZURE Potal Education Menu to Download VS 2019 and MS SQL Server 2019 Q: For VM set up for Mac OS, Only Window 11 is available instead of Window10. Is it ok to install SQL Server 2019 on Window 11? A: It should be OK ! Please download Window 10 or Window 11 at: //a href="https://www.microsoft.com/en-us/software-download/windows10%20"> Window 10 to download Q:How to Install a SQL Server on Mac A: The new M1 chip in MAC does not support installation of SQL and it has issues with VM. The best way is to use Docker as it is free for individual and easy to configure. Please see the Mac section for the Instruction for Docker. If you can not set up a Docker, please create a Azure Cloud SQL Server instance. Please see the instructions in the Azure Cloud section. The old Mac that are compatible with VM, you can follow the instruction for VM set up. Q1: I am wondering if I can just download PostgreSQL alone directly on Linux, or if I also have to create a Virtual Machine and install a SQL Server on it like the Mac users do? A: Yes, you can download a PostgreSQL directly on Linux. Only MAC needs a VM to set up to provide Win OS for a MS SQL server because None of SQL servers is based on MAC OS. Q2:For Lab Outputs, Do I need the VM for a standardized SQL Server lab output as instructed on the class webpage, or can I just download PostgreSQL by itself and use that instead? A: If you are using PostgreSQL, it’s Client is not SSMS, it has its own a Client interface, which will be downloaded and installed together with a PostgreSQL server on Linux directly, where you can write SQL/DDL/DML to Submit for the labs. The lab output will be the screen captures of the PostgreSQL Client results. No, you don't need VM for this. Q3: I’ve created an account and database on Azure portal site since I am a Mac user. Microsoft does offer a tool to write SQL queries on Mac by connecting to Azure SQL database – Azure Data Studio. Can we use that for lab submissions instead of SSMS on virtual box? A: Yes. You can connect to Azure directly from MAC witout VM with the client tool. Q4:I realized that my system username and my Laptop name were different than my name after I installed SQL server and SSMS (SQL Server Management Studio). So I finally changed the laptop name (and username) to my name and reinstalled the SQL server and SSMS management studio. I have been trying to uninstall the server and then install it again. But it is not connecting to the server, it's showing SQL Server Connection errors saying there is no SQL Server by the name. A: I never recommended to change your computer name after you installed SQL Server and SSMS. Do Not Change Your Host Name after You Installed SQL Server and SSMS ! Your SQL server was already named after your old computer name at the installation time, so as SSMS. If you changed your computer name after installing SQL server, you are calling troubles You have to change your SQL Server name to your new computer name and propagate it into SSMS as well. If the issue still persists, the problem can be fixed by uninstalling SQL Server with other related services installed together and SSMS then freshly reinstall SQL Server and SSMS to pick up the changed computer name as SQL Server instance name You will have to remove your SQL Server and all the other Services installed along together with the SQL Server and the SSMS through Add/Remove program in Window then reinstall all freshly again to pick up your new host name for a SQL Server instance name and propagate it to SSMS at the installation time. Most of the times when uninstallation is needed, students often uninstall the SQL Server only. But there are other services that gets installed along with the SQL server. You need to remove each of those services from Add/Remove Programs and functions in Window. That will allow the user to freshly reinstall the SQL server as a new instance. Q:My SQL Server was working fine a couple of days ago. But today when I was trying to log in, It keeps giving me the error message saying "Cannot connect to the Server". I was trying to fix it by following some of the how to fix it on Youtube, but none of them work. So, I am just wondering if you have anything recommend me to try in order to fix the problem? A: There are many reasons for this issues. Without knowing that what kind of system activities had been done in your system to cause the issue, it could be coming from the following issues. Your error may be coming from your own network issue like your firewall blocks the connection to your Sql server or a wrong TCP/IP setting, or your recent window update made wrong changes/overwrote default files of your SQL Server. For example, because a recent windows update may have erased your mssqlsystemresource.ldf file and mssqlsystemresource.mdf file from your binn folder under ms sql program files, then the solution is to get a copy of those files from TA's program files. I guess those files are not unique to each computer. She then put those files in the binn folder and the issue was fixed. Sometime this kind of glitch can be fixed by next window update. Try the most recent window update and check the firewall and TCP/IP configuration. However, MS SQL Server is usually well maintained, it doesn't require the manual changes like those, try to avoid if possible. If you can't resolve it, use the Azure Cloud for your labs. The network related Connection issues are hard to fix because they could be coming from so many different causes in the individual user's environment including Window Update that are usually hidden from the users. Microsoft seems to provide the new tool to resolve this new issue. If You Have a Error: Unable to Connect to the SQL server, Try below: Important Trouble Shooting Tip for the Network Related SQL Server Connection Problems (Shared by Alex Theroux) I managed to resolve my initial error of being unable to connect to the SQL server. I had tried restarting and several other things. I'm also not sure how much having mutliple versions (2008 or later) of sql on my machine had an effect. What did end up solving my problem was after some digging I found the SQL Server Configuration Manager. The server was stopped for some reason and telling it to start allowed me to reconnect right away. Some Trouble Shooting Tips: When the installation errors are coming from your unusual/incorrect Window OS Setting 1. Uninstall the SQL and all the programs that were installed with it through Add/Remove Program, then go to the Azure link as suggested in class page and redownload the file. Then reset the settings you have done for troubleshooting. And finally reinstall SQL. Also, make sure to install Visual studio 2019 before the SQL installation. 2. If you want you can reset the OS and make sure to uninstall the SQL, after that first install Visual studio 2019 and then run the SQL installer. Even after these, if you are getting the same error then go to below folder – C:\Users\your_username\AppData Then select Local folder and then look for Temp folder, then do a right click on Temp folder and then select properties. In properties select Security and then select Everyone and select the Full Control checkbox and finally apply the changes and then try installing. Instructions for Old SQL Server Versions: (Note that They May Not Be Available to Download in MS Azure Site Anymore) If your computer does not have enough memory to install 2019 or 2017 SQL Server, you can try one of the older versions below. Instructions for Any version From 2017 SQL Servers: SQL Server Installation Guides Specific for Each Version and Each Platform: Installation Guides for 2017 SQL Server: 2017 SQL Server: //a href="SQL_Server2017_Installation_Guide.pdf"> Where to Go and How to Download a 2017 SQL Server with Analysis Service and Integration Service (SSDT) Together from the MS Site (Note that Mixed Mode was chosen in this Guide. Instead, You can Choose Window Authentication) //a href="Install Visual Studio 2017_SQL Server 2017.pdf"> Installation Guides for 2017 Visual Studio + SQL Server (with SQL Management Studio) + Analysis Service + Integration Service (MS SQL Data Tool) ALL Together NEW POST ! Note that You can Still choose Window Authentication ! //a href="FAQ_Installing2017SQLServer.pdf"> FAQs for Installation Guides for 2017 Vs + SQL Server (with SQL Management Studio) NEW POST ! //a href="Download and installation guide for SQL Server and Visual Studio.pdf"> Guides for Downloading and installing 2017 Visual Studio and 2016 SQL Server 1. Install Visual Studio 2016 or higher first before installing 2016 SQL Server. Install Visual Studio 2013 or higher first before installing 2014 SQL Server. Note that any old versions of Visual Studio (2010 or 2012 VS) won't work with 2014 SQL Server. Visual Studio (2013 or 2015 VS) won't work with 2016 SQL Server. 2. 2014 SQL Server won't work that well on Window 8 OS. Recommend it on Window 7 or Window 10. 3. 2016 SQL Server can be installed only on Window 8 or Window 10. It can NOT be installed on Window 7 OS or any lower version. 4. For Those who want to install Enterprise Edition Follow the steps to install MS SQL Server Enterprise Edition and Choose Window Authentication Mode and then Add Current User (add you as administrator in your system) in Server Configuration and Database Engine Configuration steps. 5. For Any SQL 2016 Server, Any MS SQL Server Package Does not Have the Client Software - SQL Server Management Studio. Download it separately from the MS Download site and install it after Installing a SQL Server. See the new instruction ! Download and Install the Client: SQL Server Management Studio (SSMS) //a href="https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms"> Download SSMS The Lab Submission Link and the Deadline of Each Lab Will Be Posted on the Class Blackboard ! You Have to Start Working on Labs Before the Submission Link Are Created on Blackboard for Each Lab Submission. If You did an Extra Credit Part, Mention about What Part is Done for Extra Credit at the Front(Cover) Page of Your Report in Bigger and Bold Font ! Always Follow the Deadline of Each Lab Posted on the Class Blackboard. The Deadlines mentioned on the Class Webpage Are Tentatively Scheduled at the Beginning of Each Semester. Please Identify Your Course When You Ask Me in Email ! Required Labs: The Lab Submission Link and the Deadline of Each Lab Will Be Posted on the Class Blackboard ! Wait For the Lab Submission Links Are Created on Blackboard for Each Lab Read CAREFULLY Below the Lab1 Section for How to Create Lab Output Report ! IMPORTANT NOTES !!!! Do NOT Change Your Computer Name or Your UserId AFTER You Install a SQL Server(Your Account with UserId Was Created during the Installation) !!!The System Will NOT Allow you to change your userid You will have Network related system TROUBLES/PROBLEMS if you change your computer name AFTER you installed a SQL Server !! If your userid and your Computer Name are not YOU, Explain why your username/Computer Name are not YOU to me, TA in email, and in the Lab report! Lab1 : Notes for Labs: 1. Make Sure to Create a Database Named Company_YourLastName (Use the first 5 characters of your last name or 3 chars of first name + 3 chars of last name) 2. Show the Execution in Screen capture in ONE window. 3. Make Sure to Insert All 4 Departments in Department table. 4. Make Sure to Show Your Table Contents with Select * From your_table_name; (with the Screen capture of the Select Query Results) in your report right after Inserting all the data. Write each Sql command in each .sql file to Execute one by one to See How Your Sql Server Responses to DDL, DML, and SQL Create Database named in the following rule: Company_YourLastName (For Example, Company_Chung), OR, In Case There ARE More Than One Person with the Same Last Names in Class: Company_3Characters of Your First Name Followed by 3 Characters of Your Last Name with Each First Letter in Capital For Example, Your Name is Sunnue Chung, Create Database Named: Company_SunChu Either Way Is OK As Long As TA Can Recognize Your Database with Your Name (Don't Send Me an Email Asking Which Naming Rule to Follow; It is NOT Important!) To Name Your .sql Files to be identifed with your name, for example, use Prefix with only the first 3 characters of your first name followed by the first 3 characters of your last name with Each First Character in Uppercase. For Example, Your Name is Sunnie Chung, then SunChu_CreateTable.sql Notes for Lab Output Report: 1. Make Sure to Show Your SQL Code and the Executed Result by Your Server in the SAME Window in a Screen Capture ! 2. Make Sure to Show your Server Name in the SAME Window with Your Query and the Result ! 3. If Your Lab Report Does Not Show Enough Information about Your Server Name, Your Userid Folder Name, Your Sql File Names Are Related to Your Name, I Will Assume that You Are Hiding Someone Else's System Information for Cheating. 4. Copy and paste every code in the doc file with the screen captures of the execution results together. It is preferred for TA to read since sometimes the codes inside the screen captures look too small to read. For the rest of the coming Labs, copy and paste each text of your query outside of the screen capture to show them clearly. FAQs for Lab0 and Lab1: Q: For all labs is it required that our file names follow the format outlined in Lab0? A: No need for all the rest of the Labs. Only for Lab0 and Lab1, but recommend to do for the rest of the Labs; It is NOT important in grading. Q: Also, must we create a new .sql file for each command? What I did was use the same .sql file for each command I ran in Lab 1. A: Yes, only for the Lab 1. It may look redundant and silly, I know you can do all in one sql file. But it is needed for more than 1/3 of the class that are confused and not be able to debug errors generated by all the commends executed in one sql file. Q: In terms of set up procedure for Lab 0, what would you like to see from non-Microsoft users? Here's what I have for Lab 0: A screenshot of the database connection window. screenshot of a terminal window next to my database client with my computer's hostname and other specific information listed. A: It should be good enough. Lab0 is to force everyone to complete their system set up and get used to use the client and the SQL server for Lab1. The Screenshots with the computer name and the server's name are needed to prevent cheating for a small bad student. So it is OK if your client does not provide the name of host and server. TA and I know about this. Please mention that you used different client Sofware at the beginning of the Lab0 and Lab1 for TA. Please don't email me with any more questions on this because it is not an important thing ! SQL Server Data Types: Basic DDL and DML Examples: For Mac: See the Installation Guides for Mac in the Lab0 Section Above For PostgreSql: //a href="https://www.commandprompt.com/education/postgresql-basic-psql-commands/#1"> How to Switch a Database in PostgreSQL //a href="https://www.postgresql.org/docs/current/app-psql.html"> Command list in PostgreSQL Lab2 : Creating Company Database Lab2_1 on E-R Modeling : Creating an E-R Diagram of Company database with Identifying Entities and Realtionships Note that You have to identify all the attributes for each Entity and Identify Key attributes, Multi-Valued Attributes, Composite Attributes, and Derived Attributes in your E-R Diagram. Some ER Diagram Tool avaliable below. You can use any E-R Diagram Tool for Lab2_1. You may also draw your ER Diagram in a Doc file or in a Pencle and Paper only for Lab2_1. Lab2_2 on Creating a Database Scheme from E-R Diagram Additional Requirements for Lab2_2 ! 1. Make sure to insert one tuple with your name and info as an employee working for Headquater Dept with Dno = 1 then show your tuple inserted in Employee table. 2. Before Creating Tables in Correct Scheme Using DDL for Part2, Remove the Tables tested in Part1 From the Server with Delete Table and Drop Table ! Show the effect of Delete and Drop followed by Select statement in Your Lab2-2 Report. 3.For Visualizing with a Database Diagram: The Azure Cloud clients and the Mac Docker clients Do not Have the Visulaizing ER Diagram Feature/Tool. In such cases, It is ok Not to Provide a Database Diagram. Instead, Please Provide the screenshot of Your Object Explorer or Table List in Your Client to Show Your Tables with PK add FKs Created in Lab2_2. Lab Guides: FAQs for Lab2_2: Q: So I completed my database schema and I’m driving to use the database diagram tool but it’s giving me an error. A: This could be coming from many different reasons - your access control issue, your SQL server version that doesn't support, or your database scheme creation. See the Error Shooting Tips for the resolution above. If you can't find any resolution, then expand your Table scheme with all the columns in your Object Explorer to show the ENTIRE database scheme with PK, FK columns marked in multiple screen captures in the report. That can replace your DB diagram. Lab3: IMPORTANT NOTES for Lab3: For Part 1 of Lab3: - Do NOT add yourself to the Department 7. Insert your Employee.Dno with 1. - You can Make Up for the rest of the column values for your own. 1. Add yourself into the Employee table, and 2. Insert Your 2 Dependent Information (2 records) into the Dependent table, and 3. Assign 2 projects to yourself by inserting two records into the Works_On table. 4. Then you need to write 1 SQL statement (Select From Where) to retrieve All the Information of your Dependents and Projects using Join Conditions based on the PK-FK Relationships. The expected output should be multiple records (depends on how many records you will insert on the Dependent and Works_on table) with all the information from the 3 tables. Lab4: Q5 is not required for CIS 430 Students. It is for Extra Credit for CIS430. It is required for CIS530. Notes on Lab4: Q:for the dependents to be inserted, the date of birth is not given in the Lab4, do I need to take any suitable date from my side or I should insert NULL for the column? A: Do NOT insert Null. If any column values to be inserted were not given in the Lab4, it means that those are not importatnt, make up your own to insert. Those values do not matter to the query results. Lab5: Lab6: (Extra Credit for Spring 24 !) Important Note for Lab6: For the column DML_Type, Insert a string either update, insert, or delete for each triggering DML statement. If the Triggering Update statement changed 4 rows, all the 4 rows need to be inserted into the Audit Table. Usually ROW trigger will do this one by one by executing the trigger body per row updated. However, in MS Trigger Syntax, there is no ROW trigger, everything goes as Table Inserted and Deleted. So you have to use a Cursor for each row execution to be inserted into Audit table. Extra Credit Labs for CIS430 Students: Choose One out of the following Extra Projects 6_1 or 6_2, or Lab7 below: Lab6_1: (Required for CIS530 and Honor Contract Students!) IMPORTANT NOTES for Lab6_1 !!! - Create an E-R Diagram. You don't need to Create a Class Diagram for This Lab. - For the CRUD Functions, You Have To Created a Stored Procedure for Each of the CRUD Operations (Don't worry about E(xecute), which means Stored Procedure Execution) Lab7 : (Extra Credit for CIS430 !) Lab7 Is the Required Labs For CIS 530 and Honor Contract Students!! Lab7 For Extra Credit for CIS430 Students You May Choose Any Platform with Any Language for a Web Application for Lab7 The Recent WAMP Sever Package Requires a New Microsoft C# Integration that Is Not Properly Configured, Which Causes Errors in Installation. Instead, Use the MAMP Server Package below which is very similar. You can set up Apache Webserver (HTTP Server) on Window with WAMP/MAMP Server MySql Tutorial LAMP Server Set Up: Note that the sample codes here have deprecated and replaced with new methods in the new version of PHP (because of the web security, it changes very fast almost every six months), make sure to replace them with the updated methods in php.net site above ! Lab6_2: (For Honor/Contract Course Students) Semi-structured Database with MongoDB: Create Semi-Structured Database for the 100 Business Yelp data in JSON with MongoDB See MongDB and Node JS Guide below for Extra Credit Lab8 ! Data Source: //a href="https://eecs.csuohio.edu/~sschung/cis612/Lab3JSON.zip"> Zip file for JASON files -- with the valid JSON format //a href="https://www.yelp.com/dataset/challenge"> Yelp Challenge Data Set NOSQL Database: Object Relational Mapping for Semi Structured Database MongoDB: //a href="Lecture_Notes_MongoDBOnly"> Lecture Notes on Mongo DB //a href="https://docs.mongodb.com/manual/introduction/"> Introduction to Mongo DB //a href="https://docs.mongodb.com/manual/core/databases-and-collections/"> Mongo DB: Databases/Collections //a href="https://docs.mongodb.com/manual/core/document/#bson-document-format"> Mongo DB: Document Format //a href="https://docs.mongodb.com/manual/crud/"> Mongo DB: CRUD Operations //a href="https://docs.mongodb.com/manual/aggregation/"> Mongo DB: Aggregations //a href="https://docs.mongodb.com/manual/reference/sql-comparison/"> Mongo DB Query Examples Comparison with SQL //a href="https://docs.mongodb.com/manual/reference/operator/aggregation/lookup/#pipe._S_lookup"> Mongo DB Join Operator: lookup with unwind for array Mongo DB Setup: //a href="https://www.mongodb.com/download-center#production"> MongoDB Download //a href="https://docs.mongodb.com/manual/"> Class Note_22_3: MongoDB Getting Started //a href="https://docs.mongodb.com/getting-started/shell/"> Class Note_22_3: MongoDB Shell options to start //a href="https://docs.mongodb.com/getting-started/shell/import-data/"> MongoDB Site: How to Import Data Set //a href="https://resources.mongodb.com/getting-started-with-mongodb?jmp=nav&_ga=1.203663568.1747496424.1492301783"> Class Note_22_3: MongoDB Resources //a href="https://docs.mongodb.com/?_ga=1.237374408.990523453.1486931228"> Mongo DB Documentation Set up Guide for MEAN Stack: Also See Project 3 Section For Node JS Set up Guide or //a href="https://eecs.csuohio.edu/~sschung/CIS408/CIS408.html#Class_Notes"> CIS 408 Class Lectures: Scroll down to Node JS: MEAN Stack Section //a href="http://web.stanford.edu/class/cs142/install.html"> Node JS with Mongo DB Setup Guide //a href="NodeJSSetupRecommendation_2"> Node JS Setup Guide //a href="NodeJSSetupXPathXMLInJS_2.pdf"> Node JS with Mongo DB Setup Guide //a href="NodeAngularSetUpGuide.pdf"> Angular JS with Node JS with Setup Guide Node JS API for MongoDB: //a href="https://expressjs.com/en/guide/database-integration.html#mongo"> NodeJS: Integrating to MongoDB Mongoose: Node JS API for MongoDB: For connecting/querying to MongoDB: //a href="http://mongoosejs.com/index.html"> Mongoose To Set Up //a href="http://mongoosejs.com/docs/guide.html"> Mongoose Guide Application Examples Built with Node JS //a href="WebApplicationExampleNodeJSSQLServerMongoDB.pdf"> Sample Web Application Using Node JS with Mongo DB //a href="WebApplicationExampleNodeJSSQLServerMongoDB.pdf"> Sample Web Application with Angular JS and MS SQL Server |
| Class | Chapter / Topic / Specific Objectives / Activities |
| Special Topics |
|
| 1 |
|
| 2-3 |
|
| 3-5 |
|
| 6-7 |
|
| 7-9 |
|
| 10 |
|
| 10-14 |
|
| 13-14 |
|
| 14-16 |
|
| 17 |
//a href="Elmasri_6e_Ch12XML.pdf"> Class Note_23: Chapter 12:XML |
==> Completion of Homeworks/Labs is required for obtaining a passing grade.
| This
is a tentative scale and |
Letter |
Quality Points |
|
||
| A |
> 93% |
A: Outstanding (student's performance is genuinely excellent) | |||
| A- |
90% - 93% |
||||
| B+ |
87% - 90% |
||||
| B |
82% - 87% |
B: Very Good (student's performance is clearly commendable but not necessarily outstanding) | |||
|
|
B- |
80% - 82% |
|||
|
|
C |
75% - 80% |
C: Good (student's performance meets every course requirement and is acceptable; not distinguished) | ||
| D | 65%-75% | D: Below Average (student's performance fails to meet course objectives and standards) | |||
|
|
F |
<65% |
F: Failure (student's performance is unacceptable) | ||
|
ADA Adherence. If you need course adaptations or accommodations because of a disability, if you have emergency medical information to share with me, or if you need special arrangements in case the building must be evacuated, please make an appointment with me as soon as possible. My office location and hours are listed on top of this syllabus. If you need further information, please contact the ACCESS office, phone number 687-5106. |
Programming standards
|
|
|