SQL Portfolio<br />Bing Zheng<br />Email: BingTZheng@gmail.com<br />Phone: 646-709-4371<br />
Table of Contents<br />JungleBooks<br />Library<br />Bank Project<br />SSIS/SSRS Project<br />BlockFlix<br />
JungleBooks<br />JungleBooks is a book company which has a database consisting of books, authors, orders, and customers.<b...
JungleBooks Database Diagram<br />
Large Orders Page from JungleBooks<br />
Expired Cards page from JungleBooks<br />
Hot Items page from JungleBooks<br />
Library<br />The Library Database is created to support the principle functions of a lending library’s day-to-day operatio...
Library Database Diagram<br />
Sample Library Query 1<br />
Sample Library Query 2<br />
Sample Library Query 3<br />
Bank Project: PiggyBank<br />The PiggyBank Database simulates bank operations such as OverDraft Accounts, Customer and Acc...
PiggyBank Database Diagram<br />
PiggyBank Add Account Stored Procedure<br />
PiggyBank Add Account Stored Procedure Cont.<br />
PiggyBank Account Deposit Stored Procedure<br />
SSIS/SSRS Project<br />For the SSIS (SQL Server Integration Services) portion, we created 6 packages in SQL Server Busines...
SSIS – Data Flow for Importing Products Package<br />
SSIS – Control Flow for Importing Orders Package<br />
SSRS – Data Flows for Importing Orders Package<br />
SSRS – Sales Matrix By Year Report<br />In this report there is a dropdown list of shipping methods the user can choose fr...
SSRS – Sales Matrix By Year Report<br />In this report the user can set the parameters of the start and end dates along wi...
BlockFlix<br />BlockFlix is our Final Group Project and it implemented almost all that I have experienced in the program. ...
BlockFlix – Database Diagram<br />
BlockFlix – XML File<br />This is the XML File format used to load new movies into the database via SSIS.<br />
BlockFlix – Report Customers in each Membership Type<br />
BlockFlix – Report of Most Active Customers<br />
BlockFlix – Report of Lost/Damaged Movies<br />
BlockFlix – Video Streaming<br />Archived Live Video OnDemand<br />On demand avoids thin viewing  stream due to the ‘stamp...
BlockFlix – Backup and Maintenance<br />Transaction  log backup will occur daily at midnight  across  servers for all data...
Upcoming SlideShare
Loading in …5
×

Bing Zheng SQL Portfolio

618 views
525 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
618
On SlideShare
0
From Embeds
0
Number of Embeds
11
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Bing Zheng SQL Portfolio

  1. 1. SQL Portfolio<br />Bing Zheng<br />Email: BingTZheng@gmail.com<br />Phone: 646-709-4371<br />
  2. 2. Table of Contents<br />JungleBooks<br />Library<br />Bank Project<br />SSIS/SSRS Project<br />BlockFlix<br />
  3. 3. JungleBooks<br />JungleBooks is a book company which has a database consisting of books, authors, orders, and customers.<br /> In this project a database diagram is given and a database is created according to the diagram.<br />We are asked to create multiple queries for different forms of the application the client is building.<br />
  4. 4. JungleBooks Database Diagram<br />
  5. 5. Large Orders Page from JungleBooks<br />
  6. 6. Expired Cards page from JungleBooks<br />
  7. 7. Hot Items page from JungleBooks<br />
  8. 8. Library<br />The Library Database is created to support the principle functions of a lending library’s day-to-day operations.<br /> In this project a database diagram is given and a database is created according to the diagram.<br />We are asked to create multiple queries for different forms of the application the client is building.<br />
  9. 9. Library Database Diagram<br />
  10. 10. Sample Library Query 1<br />
  11. 11. Sample Library Query 2<br />
  12. 12. Sample Library Query 3<br />
  13. 13. Bank Project: PiggyBank<br />The PiggyBank Database simulates bank operations such as OverDraft Accounts, Customer and Account Relationships, and Transactions.<br />Create an Entity Relationship Diagram given some specifications such as Overdraft Fees, Error Information when a transaction fails, Login Failures, and Customer/Account relationships.<br />
  14. 14. PiggyBank Database Diagram<br />
  15. 15. PiggyBank Add Account Stored Procedure<br />
  16. 16. PiggyBank Add Account Stored Procedure Cont.<br />
  17. 17. PiggyBank Account Deposit Stored Procedure<br />
  18. 18. SSIS/SSRS Project<br />For the SSIS (SQL Server Integration Services) portion, we created 6 packages in SQL Server Business Intelligence Development Studio. One package to create the database, four packages to import data from CSV files, and one to update the data.<br />For the create database and update data, we just used an Execute SQL task in the Control Flow, while the others to import data we needed various tasks in the Data Flow.<br />For the SSRS (SQL Server Reporting Services) portion, we created two reports: One was a sales matrix by year and the other was the top sales. We would also schedule report snapshots and subscriptions.<br />
  19. 19. SSIS – Data Flow for Importing Products Package<br />
  20. 20. SSIS – Control Flow for Importing Orders Package<br />
  21. 21. SSRS – Data Flows for Importing Orders Package<br />
  22. 22. SSRS – Sales Matrix By Year Report<br />In this report there is a dropdown list of shipping methods the user can choose from.<br />As displayed in the report, all the methods are selected.<br />
  23. 23. SSRS – Sales Matrix By Year Report<br />In this report the user can set the parameters of the start and end dates along with which number of top products and vendors you want. As displayed the dates are set to 4/20/1995 and 4/20/2011 with top 5 for both product and vendors. <br />
  24. 24. BlockFlix<br />BlockFlix is our Final Group Project and it implemented almost all that I have experienced in the program. A presentation was conducted by the group upon graduation.<br />Some of the specification for this project included:<br />The database will be used to track inventory of movies, customers and their membership types, and payments by customers.<br />Demo of inserting an XML file containing new releases into the database showing Title, Genre, Rating, actors, producers, etc.<br />Each store has an individual database to keep track of local sales information which will be uploaded to the central database.<br />Create reports for upper management and marketing department for lost/damaged movies, most rented movies, most active customers, list of customers in each membership type, etc.<br />Propose how to implement streaming online video rentals<br />Maintenance, Security, Backup, etc.<br />
  25. 25. BlockFlix – Database Diagram<br />
  26. 26. BlockFlix – XML File<br />This is the XML File format used to load new movies into the database via SSIS.<br />
  27. 27. BlockFlix – Report Customers in each Membership Type<br />
  28. 28. BlockFlix – Report of Most Active Customers<br />
  29. 29. BlockFlix – Report of Lost/Damaged Movies<br />
  30. 30. BlockFlix – Video Streaming<br />Archived Live Video OnDemand<br />On demand avoids thin viewing stream due to the ‘stampede’ effect (everyone trying to view at once). This in turn reduces the need for heavy bandwidth and allows other resources to continue at standard expected levels.<br />
  31. 31. BlockFlix – Backup and Maintenance<br />Transaction log backup will occur daily at midnight across servers for all databases. <br />A full database backup is also scheduled on every Sunday at midnight for all databases<br />Filegroups exist for transactions, movies, and for customer and disk inventory. <br />Each filegroup exist on its own terrabytedisk<br />

×