代写BTM 211 Management Information Systems DB Assignment – Fall 2025代写R语言

Department of Accounting and Business Analytics

BTM 211

Management Information Systems

DB Assignment – Fall 2025

Case Study: Maverick Airways

Background

Established in Calgary in 2004, Maverick Airways grew to be one of western Canada’s most reliable airlines. With a proven track record of on-time departures, exceptional customer service, and an expansive fleet of aircraft, we ensure every journey is smooth, safe, and stress-free.

We take pride in connecting Canadians from east to west and across oceans, providing everyone with options both affordable and luxurious. So, wherever your journey might take you, trust Maverick Airways to get you there. It’s what we do!.

Problem

Pete is looking to implement a database for Maverick Airways so he can manage data more effectively across the company. The database will be used not only by him but also by employees within all departments of the company.

Using the data model provided, create a database for Maverick Airways in SQLite. 


Requirements:

Part A:

Create the SQLite database tables.

Build an SQLite database of TABLES that match the official “MaverickAirways_Data_Model.pdf” provided in the Assignments folder on Canvas.

IMPORTANT: Do NOT use your personal data model that you built in the Data Model Assignment

1. Create each table with the correct name. You should create nine (9) tables.

2. Create all attributes for each table with the correct name and SQLite data types

3. Implement the primary keys (or composite keys)

4. Implement each relationship for every foreign key.

Part B:

Import data into the SQLite database.

Using the techniques you learned in the lab videos, import the provided sample data (MaverickAirways_Data_Fall_2025.xlsx) into each table.

1. Prepare a CSV (Comma Delimited) file for each table you intend to import into your SQLite database. Name each CSV file the name of the table. You should have nine (9) CSV files in total.

Note: You will need to reformat and “clean up” the sample data spreadsheet by cutting and re-pasting some of the columns from each table into its own CSV file.

2. Using SQLite Studios "Tools - Import" function, populate your database tables with the appropriate CSV files. 

Hint: First import the “Parent” tables that act as “1” tables in 1-M relationships – then import the “Child” tables.

Part C:

Insert new data rows into tables.

Using the techniques you learned in the lab, insert new data rows into tables

1. Create two (2) new passengers in the Passenger table. Use the following information for the new passengers.

Attribute

New Passenger #1

New Passenger #2

 

 

PassengerId

1

2

FirstName

[Your first name]

[Your last name]

LastName

[Your last name]

[Your first name]

StreetAddress

456 Rooster Road

123 Goose Way

Municipality

Fallon

Fallon

ProvinceState

Alberta

Alberta

Country

Canada

Canada

PostalCode

T5P 5O7

T5L 6K2

Email

[email protected]

[email protected]

PhoneNumber

780-123-4567

587-987-6543

PassportNumber

BS541FM

M658AL8

2. Create two (2) new tickets in the Ticket table and include relevant information. Use the following information for the new tickets:

New Ticket 1:

 

New Ticket 2: *Changes to image: ECON should be spelt ECNO to fit with data sheet*

 

Part D:

Query the data in the SQLite database using Select.

Using the techniques you learned in the labs, write a SELECT QUERY to answer the following questions based on the data in your SQLite database.

IMPORTANT: You MUST include your “working” SQL statements in this document. The code should not include any line numbers. We will copy these SQL code and test run with your database. Failure to submit working SQL will result in deductions.

Query 1

Pete wants a list containing all the rows and columns for every passenger they have on file. Write a query to display the following information (from left to right):

● PassengerId

● FirstName

● LastName

● Municipality

● ProvinceState

● Country

● PostalCode

● Email

● PhoneNumber

● PassportNumber

Important:. Do not include the line numbers when you copy and paste in the purple box.

Copy and paste your working SQL statement in the box below:

 

Query 2

This time, Pete wants a list of every passenger, but he only wants to include their first name, last name, and address. However, Pete wants the first names and last names to be in one column, and the full address to be in one column.

Write a query to display the following information (from left to right). Concatenate the passenger names and locations and rename them with the alias name provided in quotation marks:

● FirstName and LastName as “Passenger Name” (separate each name with a space)

● StreetAddress, Municipality, ProvinceState, and Country as “Passenger Location” (separate each name with a comma)

Important:. Do not include the line numbers in the purple box.

Copy and paste your working SQL statement in the box below:

 

Query 3

Pete wants a list of every airport they fly to, but only if the airport is located in Canada.

Write a query to display the following information (from left to right).

● AirportCode

● AirportName

● AirportCountry

Important: Do not include the line numbers in the purple box.

Copy and paste your working SQL statement in the box below:

 

Query 4

Pete wants a list that displays the count of airplanes by manufacturers in ascending order. Write a query to display the following information (from left to right):

● Manufacturer

● COUNT(Manufacturer) AS “Count of Aircraft by Manufacturer”

Important: Do not include the line numbers in the purple box.

Copy and paste your working SQL statement in the box below:

 

Query 5

Pete wants a list of every route they service, but he only wants to see their routes with distances over 1000KM in descending order. Write a query to display the following information (from left to right): Spelling change.

● OriginAirportCode

● DestinationAirportCode

● DistanceInKm 

Important: Do not include the line numbers in the purple box.

Copy and paste your working SQL statement in the box below:

 

Query 6

Pete wants a list that displays the aircraft id, but he only wants to see Boeing 737-800 aircrafts. Write a query to display the following information (from left to right): Wording change

● AircraftId

● Manufacturer

● Model

Important: Do not include the line numbers in the purple box.

Copy and paste your working SQL statement in the box below:

 

Query 7

Pete wants a list of the ticket types, but he only wants to see typecode, full name, and description Write a query to display the following information (from left to right):

● TicketTypeCode

● FullName

● Description

Important: Do not include the line numbers in the purple box.

Copy and paste your working SQL statement in the box below

 

Query 8

Pete wants a list of every flight that has been cancelled. Write a query to display the following information (from left to right):

● FlightInstance

● FlightId

● Status

Important: Do not include the line numbers in the purple box.

Copy and paste your working SQL statement in the box below:

 

Query 9

Pete wants to know what account belongs to which passenger, sorted from A-Z, and the tier that account is. Write a query to display the following information: (from left to right)

Tables used:

● AccountId

● PassengerId

● FirstName and LastName AS “Passenger Full Name”

● Tier

Important: Do not include the line numbers in the purple box.

Copy and paste your working SQL statement in the box below:

 

Submission Instructions

Before the submission deadline, you must submit electronically the following:

● One (1) SQLite database (.db) file

We will not accept any other file types. If we cannot open your database on our computers, you will be penalized for having to re-submit the assignment.

● One (1) completed DB Assignment REQUIREMENTS document with your SQL queries pasted in Section D.

We will not accept your query results. You must submit your query statements (the code you wrote). Failure to submit your code will result in a penalty for having to re-submit the assignment.

File naming convention: AssignmentCode_FirstNameLastName_LectureSection

Example: DB_LadyGaga_A02

Cheating and Plagiarism

All work is to be done individually.  Do not copy, in whole or in part, the work of others, including paper printouts, electronic files or computer programs.  Do not use the work of others as a starting point and then modify it. All work submitted under your name must be yours and yours alone.  

The University of Alberta is committed to the highest standards of academic integrity and honesty. Students are expected to be familiar with these standards regarding academic honesty and to uphold the policies of the University in this respect. Students are particularly urged to familiarize themselves with the provisions of the Code of Student Behavior. (online at www.ualberta.ca/secretariat/appeals.htm) and avoid any behavior. that could potentially result in suspicions of cheating, plagiarism, misrepresentation of facts and/or participation in an offence. Academic dishonesty is a serious offence and can result in suspension or expulsion from the University.


热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图