This is for module 7 use livesql the link is there Thinking Exercise SQL Coding This lab
Fantastic news! We've Found the answer you've been seeking!
Question:
This is for module 7 use livesql the link is there
Transcribed Image Text:
Thinking Exercise SQL Coding This lab exercise requires that you write your own SQL code. The information that you will require can be found in the recording of the previous class session., CHThis assignment is an assessment to determine that you can write SQL code in a real-world situation. All queries must work and yield a return of data. Please pro screenshot of the code and the data that the code yields. Visit the following website: https://livesql.oracle.com/a ex/f?p=590:1000:0 1. Load the database from the script named: Ch07_AviaCo_ORA.txt. You will find this file under course documents in Canvas. 2. Write an SQL query using the AND operator that will return a result in which the charter hour wait time is greater than 3 and the customer code is 10011. You will find the data in the Charter table 3. Write an SQL query using the OR operator that will return a result in which the charter hour wait time is greater than 3 or the customer code is 10011. You will find the data in the Charter table 4. Write an SQL query using the IN operator to show customer codes 10011, 10014 & 10019. This query will show only the charter trip, charter date and customer code. You will find the data in the Charter table 5. Write an SQL query using the between operator to show all charter trips with a distance between 500 and 1000 miles. This query must also show the charter trip and charter date. You will find the data in the Charter table 6. Use the not operator to exclude all model codes of PA23-250 from the Aircraft table. 7. Write an SQL Query using the LIKE and '%' wildcard operator to show all Customers with a Customer Name beginning with the letter F. Use the Customer table. 8. Write an SQL query using a comparison operator that will display all customer with a balance of more than 500. This query must also display the customer code and the customer's first and last names. Thinking Exercise SQL Coding This lab exercise requires that you write your own SQL code. The information that you will require can be found in the recording of the previous class session., CHThis assignment is an assessment to determine that you can write SQL code in a real-world situation. All queries must work and yield a return of data. Please pro screenshot of the code and the data that the code yields. Visit the following website: https://livesql.oracle.com/a ex/f?p=590:1000:0 1. Load the database from the script named: Ch07_AviaCo_ORA.txt. You will find this file under course documents in Canvas. 2. Write an SQL query using the AND operator that will return a result in which the charter hour wait time is greater than 3 and the customer code is 10011. You will find the data in the Charter table 3. Write an SQL query using the OR operator that will return a result in which the charter hour wait time is greater than 3 or the customer code is 10011. You will find the data in the Charter table 4. Write an SQL query using the IN operator to show customer codes 10011, 10014 & 10019. This query will show only the charter trip, charter date and customer code. You will find the data in the Charter table 5. Write an SQL query using the between operator to show all charter trips with a distance between 500 and 1000 miles. This query must also show the charter trip and charter date. You will find the data in the Charter table 6. Use the not operator to exclude all model codes of PA23-250 from the Aircraft table. 7. Write an SQL Query using the LIKE and '%' wildcard operator to show all Customers with a Customer Name beginning with the letter F. Use the Customer table. 8. Write an SQL query using a comparison operator that will display all customer with a balance of more than 500. This query must also display the customer code and the customer's first and last names.
Expert Answer:
Related Book For
Understanding Financial Statements
ISBN: 978-0133874037
11th edition
Authors: Lyn Fraser, Aileen Ormiston
Posted Date:
Students also viewed these databases questions
-
Define the contextual-equivalence relation ` M =ctx M0 : for pairs of PCF terms M, M0 , PCF types , and PCF type environments . [3 marks] (ii) For PCF terms M and N with respective typings ` M : and...
-
2. A firm's or cash flow, is its profits after deductions for all expenses, including or wear and tear on capital goods such as machinery.
-
Write about Sexual Offense and give arguments.
-
Estimate the fatigue strength of a rotating-beam specimen made of AISI 1020 hot-rolled steel corresponding to a life of 12.5 kilocycles of stress reversal. Also, estimate the life of the specimen...
-
Hasan holds 100% of the shares in Behmoth Ltd and he is also a director of Lion Ltd. All of the shares in Lion Ltd are held by Singa Ltd. Required Determine the related party relationships for each...
-
Northwest Equipment offers a 3% discount to customers who pay cash at the time of sale and a 2% discount to customers who pay within the first 10 days of the month after sale. Past experience shows...
-
You are given an undirected graph consisting of n vertices and m edges. It is guaranteed that the given graph is connected (i. e. it is possible to reach any vertex from any other vertex) and there...
-
Tom Fox bought 8 bonds of UXY Company 3 1/2 09 at 84 and 4 bonds of Foot Company 4 1/8 10 at 93. Assume the commission on the bonds is $3 per bond. What was the total cost of all the purchases?
-
For the next 8 years, you decide to place $2,104. In equal year-end deposits into a savings account earning 10.11 percent per year. How much money will be in the account at the end of that time...
-
On January 1, the Matthews Band pays $66,400 for sound equipment. The band estimates it will use this equipment for four years and perform 200 concerts. It estimates that after four years it can sell...
-
4. Write T(n) and big-O expressions for the following loops. Briefly explain how you calculated T(n). 4.1. for (int i = 0; i
-
XYZ Corporation has a target capital structure of 50% common stock, 5% preferred stock, and 45% debt. Its cost of equity is 18%, the cost of preferred stock is 6.5% and the cost of debt is 8%. The...
-
CASE QUESTIONS : Please provide references for the answers 1) How could OPM3 have helped to identify the problems with implementing the demand planning system? 2) What were the three primary reasons...
-
(NPV) A company has the choice between two different types of machines. Machine A costs less, but it also has a shorter life expectancy of two years. B costs more but lasts longer for four years. The...
-
An electric current of 50 mA passing through the human body is sufficient to provide lethal cardiac arrhythmias. The resistance R for a current passing through a human body is approx. 200 k if the...
-
Imagine that your best friend knows you are taking a psychology course and wonders what psychology is all about. How would you define psychology for your friend? Write an essay on the discipline of...
-
Tucker's Technology had the following goods available for sale in the last accounting period: Beginning inventory ..........................................100 units @ $ 5 Purchases (in order from...
-
Using the excerpt from the Moon Company's annual report, calculate any profit measures deemed necessary and discuss the implications of the profitability of the company. Moon Company Income...
-
The 2013 Intel Form 10-K can be found at the following Web site: www.pearsonhighered.com/fraser. (a) Using the consolidated statements of operations, analyze the profitability of Intel by preparing a...
-
How might planning in a not-for-profit organization such as the World Wildlife Fund differ from planning in a for-profit organization such as Airbnb?
-
Provide examples of the sources of data a residential solar panel company might gather when engaging in environmental scanning. Exhibit 8-6 may be helpful when answering this question.
-
Should (a) large, (b) small, and (c) not-for-profit organizations analyze their organizations internal and external environments differently? Why or why not?
Study smarter with the SolutionInn App