you will enter the following information in MySQL Workbench when connecting to the ‘Instructor’s Online Server’ : hostname: hult-mysql.cmsi20r5frst.us-west-1.rds.amazo
- you will enter the following information in MySQL Workbench when connecting to the "Instructor's Online Server" :
- hostname: hult-mysql.cmsi20r5frst.us-west-1.rds.amazonaws.com
- port: 3306You will be given access (read-only) to an existing database – the schema is called "accounting" in the Instructor's Online Server. You can take a look at the EER diagram here: Accounting ER.mwb Download Accounting ER.mwb (Just don't use the EER diagram to create your tables – it won't work – all data is in the Instructor's Online Server)
You will need to build queries and insert results into tmp views to create the Profit and Loss (P&L) and Balance Sheet (B/S) statements
Your queries must achieve the following:
- Receive the year in which the user wants to produce the P&L and the B/S for.
- Do the necessary calculations to obtain the net profit or loss for that year.
- Use that value, to produce the B/S.
- Demonstrarte that A = L + E
- Print both the P&L and B/S as clear as possible on the Result Grids
- Show the % change vs. the previous year for every major line item on the P&L and B/S
- Give some headings to each major account line item. And to each section of the P&L and B/S
- Add any additional financial metrics and ratios that could be useful to analyze this start-up.
- Wanna ensure an "A"? Produce a cash flow statement as an added challenge
Students will submit the following:
- (60 points) SQL script (if you save it as txt, be sure to keep the adequate indentations – you will receive points for correct syntax, following best practices, comments in the code, correctness, efficiency ):
- While there are multiple ways to approach the building of their P&L and B/S statements, most likely you will need need analytical queries
- be sure to include the comprehensive list of queries in ONE single .sql script that if the instructor runs on their computer, they will be able to obtain exactly the same results as per your P&L and B/S screenshots from #2.
- (20 points) Screenshot of their resulting P&L and B/S outputs. You will receive points for correct results, 10 points for correct B/S and 10 points for correct P&L.
https://docs.google.com/spreadsheets/d/1r9CCEYd_KipVA6hhD_-LSe1hAL8KYxkeHas9NFDLU-E/edit?usp=sharing
document.mwb.xml
{9854282F-EAB9-4778-82E0-2F37C08379AD} utf8 utf8_general_ci 0 0 mydb {ED7EB30E-FEE8-4FDA-8ABB-D8E9245CF64F} 0 0 0 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int account_id account_id {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int company_id company_id {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '' 0 1 100 -1 -1 com.mysql.rdbms.mysql.datatype.varchar account_code account_code {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '' 0 1 100 -1 -1 com.mysql.rdbms.mysql.datatype.varchar account account {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int balance_sheet_order balance_sheet_order {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int profit_loss_order profit_loss_order {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int postable postable {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int visible_for_posting visible_for_posting {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int inventory_type inventory_type {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '0' 0 0 -1 11 -1 com.mysql.rdbms.mysql.datatype.int bank_account_type bank_account_type {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int balance_sheet_section_id balance_sheet_section_id {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int profit_loss_section_id profit_loss_section_id {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int fiscal_id fiscal_id {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 CURRENT_TIMESTAMP 0 1 -1 -1 -1 com.mysql.rdbms.mysql.datatype.timestamp_f last_modified last_modified {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int user_id user_id {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} latin1 0 {74286AEC-A571-44DF-A01F-809F8B16761E} {59A41D8B-551F-42BB-B45F-1682B0E97FE2} 0 {F21615DC-4FE3-4876-A518-590733E5EA59} 1 1 0 {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} {96F0908E-7E60-4C0C-B5F6-77EE636324BA} 1 FK_41 FK_41 {889F146E-5AE9-4B9D-8F50-834ED7BC895B} {745E8C3C-BC40-4A01-8BD7-DD72083353FD} 0 {251DA0DB-F923-4D5E-9A73-07DDFB97D81A} 1 1 0 {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} {BF1627D8-E4E5-44C5-B46E-169C33E133E8} 1 FK_42 FK_42 {0D6513DA-E329-4FE2-BA10-B63D5B13D7AA} {F74D75E1-C7A7-4C4D-85DC-4E5B0BE1505D} 0 {B681D839-EACE-4C38-99E0-4FE50A68C114} 1 1 0 {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} {663D6290-A267-4D05-BE16-0891EC8F359D} 1 FK_43a FK_43a {0D6513DA-E329-4FE2-BA10-B63D5B13D7AA} {65519E93-DA3D-4779-A33F-AD67D6AE4D77} 0 {E8E6FF5F-2ED5-4D6C-997E-235A2F0E6C02} 1 1 0 {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} {663D6290-A267-4D05-BE16-0891EC8F359D} 1 FK_43b FK_43b 0 0 {7B0E1E56-74DF-44A0-A97F-B464DA6726F3} {B0BAA751-DDCC-4FF6-BC9F-C152FE5F7987} 0 1 0 PRIMARY 1 PRIMARY 0 0 0 {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} PRIMARY 0 0 {59A41D8B-551F-42BB-B45F-1682B0E97FE2} {F21615DC-4FE3-4876-A518-590733E5EA59} 0 1 0 INDEX 0 fkIdx_41 0 0 0 {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} fkIdx_41 0 0 {745E8C3C-BC40-4A01-8BD7-DD72083353FD} {251DA0DB-F923-4D5E-9A73-07DDFB97D81A} 0 1 0 INDEX 0 fkIdx_42 0 0 0 {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} fkIdx_42 0 0 {F74D75E1-C7A7-4C4D-85DC-4E5B0BE1505D} {B681D839-EACE-4C38-99E0-4FE50A68C114} 0 1 0 INDEX 0 fkIdx_43a 0 0 0 {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} fkIdx_43a 0 0 {65519E93-DA3D-4779-A33F-AD67D6AE4D77} {E8E6FF5F-2ED5-4D6C-997E-235A2F0E6C02} 0 1 0 INDEX 0 fkIdx_43b 0 0 0 {FB6DC92C-B69C-4C88-A9C4-0FF86C0C04AD} fkIdx_43b 0 0 {B0BAA751-DDCC-4FF6-BC9F-C152FE5F7987} 0 0 0 InnoDB 0 0 0 0 2022-03-28 14:27 2022-03-28 14:27 0 account {29AD310E-9BEE-450C-92D7-B04A64AB6496} account 0 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int company_id company_id {74286AEC-A571-44DF-A01F-809F8B16761E} 0 0 '' 0 0 20 -1 -1 com.mysql.rdbms.mysql.datatype.varchar company_code company_code {74286AEC-A571-44DF-A01F-809F8B16761E} 0 0 '' 0 1 255 -1 -1 com.mysql.rdbms.mysql.datatype.varchar company company {74286AEC-A571-44DF-A01F-809F8B16761E} 0 0 '' 0 1 255 -1 -1 com.mysql.rdbms.mysql.datatype.varchar control control {74286AEC-A571-44DF-A01F-809F8B16761E} latin1 0 0 0 {96F0908E-7E60-4C0C-B5F6-77EE636324BA} {8D7AC91A-3B14-4A76-8955-1D7566DE58EF} 0 1 0 PRIMARY 1 PRIMARY 0 0 0 {74286AEC-A571-44DF-A01F-809F8B16761E} PRIMARY 0 0 {96F0908E-7E60-4C0C-B5F6-77EE636324BA} {BCEA5556-DBDD-4503-829B-75531A5A9B8E} 0 1 0 UNIQUE 0 company_id 1 0 0 {74286AEC-A571-44DF-A01F-809F8B16761E} company_id 0 0 {8D7AC91A-3B14-4A76-8955-1D7566DE58EF} 0 0 0 InnoDB 0 0 0 0 2022-03-28 14:27 2022-03-28 14:27 0 company {29AD310E-9BEE-450C-92D7-B04A64AB6496} company 0 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int company_id company_id {2861BD66-8359-4876-A14B-AA7E7F285793} 0 0 '' 0 1 100 -1 -1 com.mysql.rdbms.mysql.datatype.varchar phone_number phone_number {2861BD66-8359-4876-A14B-AA7E7F285793} 0 0 '' 0 1 100 -1 -1 com.mysql.rdbms.mysql.datatype.varchar address_line_1 address_line_1 {2861BD66-8359-4876-A14B-AA7E7F285793} 0 0 '' 0 1 100 -1 -1 com.mysql.rdbms.mysql.datatype.varchar address_line_2 address_line_2 {2861BD66-8359-4876-A14B-AA7E7F285793} 0 0 '' 0 1 20 -1 -1 com.mysql.rdbms.mysql.datatype.varchar zip zip {2861BD66-8359-4876-A14B-AA7E7F285793} 0 0 '' 0 1 100 -1 -1 com.mysql.rdbms.mysql.datatype.varchar city city {2861BD66-8359-4876-A14B-AA7E7F285793} 0 0 '' 0 1 100 -1 -1 com.mysql.rdbms.mysql.datatype.varchar state state {2861BD66-8359-4876-A14B-AA7E7F285793} 0 0 '' 0 1 100 -1 -1 com.mysql.rdbms.mysql.datatype.varchar county county {2861BD66-8359-4876-A14B-AA7E7F285793} 0 0 CURRENT_TIMESTAMP 0 1 -1 -1 -1 com.mysql.rdbms.mysql.datatype.timestamp_f modified_date modified_date {2861BD66-8359-4876-A14B-AA7E7F285793} 0 0 '0' 0 1 -1 11 -1 com.mysql.rdbms.mysql.datatype.int user_id user_id {2861BD66-8359-4876-A14B-AA7E7F285793} latin1 0 {74286AEC-A571-44DF-A01F-809F8B16761E} {6FD843AF-EEB6-44DF-9C30-05B6CBA11252} 0 {78B2CAA2-24BD-4B54-84F2-3F313C3CEA6D} 1 1 0 {2861BD66-8359-4876-A14B-AA7E7F285793} {96F0908E-7E60-4C0C-B5F6-77EE636324BA} 1 FK_51 FK_51 {889F146E-5AE9-4B9D-8F50-834ED7BC895B} {D67D1048-4CC6-4091-BA68-FCF5E280CDAF}
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.