List all current customers by region. List all new customers by region. Report all invoices by customer and by region.
Q: rite the sequence of commands required to update the CHAR_WAIT_CHG attribute values in the CHARTER…
A: Required: Write the sequence of commands required to update the CHAR_WAIT_CHG attribute values in…
Q: List the vendor names and address for all the vendors who have active invoices. And the invoice…
A: SQL Inner Join Query
Q: Display available Hotels (by ID, Name, and address) in the City of Chicago with a maximum capacity…
A: In this we have to connect 3 tables hotel, guest, booking by using join
Q: Consider the following two tables: Table1: Customers customerID Fname Lname…
A: SELECT c.Fname, c.Lname, c.email, o.orderDate, o.amount FROM Customers AS c…
Q: --List all products whose unit price is less than the average price. --List the shipper id,…
A: Given: consider the tables as. product { productID, productNAME, price_per_unit, category_product }…
Q: Q6) how much is the total customer balance ? Q7) what is the minimum price for each sale code?
A: SQL QUERY: Select SUM(CUS_BALANCCE) AS [Sum of Balance] From Customer Group by CUS_CODE.
Q: Which query determines the customers who have ordered the most books from JustLee Books? (refer to…
A: Query The query that determines the customers who have ordered the most books from JustLee Books is…
Q: Write the SQL commands to grant the following privileges: User Stetson must be able to retrieve…
A: The following SQL Grant command is used to give privileges to user. Syntax: GRANT privilege name…
Q: Q24) ?What product(s) have a price equal to the maximum product price Q25) List all employees with…
A: A relational database contains tables. Tables are also called relations and they contain rows and…
Q: Northwind Database How many orders are shipped to a Portugal address? How many of those have a…
A: Both the queries are solved using the NorthWind Database and given in the next steps Also given a…
Q: How many RowSet are available in JDBC?
A: A RowSet in JDBC object keeps tabular data in a fashion such that its makes it more simpler and…
Q: For each passenger listed in the PASSENGER table, display the name of the person responsible for his…
A: As per given question - There should be at least following fields in the PASSANGER table - (Id,…
Q: Refer the given tables and answer the question that follow: Table : PURCHASE_ORDER ORDER_NO AMOUNT…
A: Answer: a) SELECT * FROM PURCHASE_ORDER; SELECT ORDER_NO,ORDER_DATE FROM PURCHASE_ORDER WHERE…
Q: Explain the significance of the field name and how the customer table describes street zone.
A: Asked : significance of the field name and how the customer table describes street zone.
Q: SOQL Query to find out the All the contact that are associated with the Particular account id.
A: SOQL stands for Salesforce Object Query Language. we can use SOQL to read information stored in…
Q: 1. Customers and internet packages (Customers and Packages tables) a. Write a query to display…
A: On understanding the relational model from Edgar F. Codd in the early 1970s, Donald D. Chamberlin…
Q: Create SQL statement (JOIN) to display a list with salesman name, customer name and their cities for…
A: Please find the SQL statement in next step:
Q: Determine which orders had a higher total amount due than order 1008.
A: Explanation: The following query determines the orders where the total amount is higher than order…
Q: Given the table: emp [eid, ename, salary, d_id] The following query retrieve the department name…
A: The table: emp [eid, ename, salary, d_id] The query: select d_name from dep where d_id = ( select…
Q: Q16) List the V_CODE and V_NAME of vendors that provide products Q8) List the product description,…
A: Structured Query Language is abbreviated as SQL or also pronounced as See-Qwell. It is developed for…
Q: For each reservation for customer Ryan Goff , list the reservation id, trip id and number of…
A: AND Operator: In Structured query Language (SQL), "AND" keyword is used in order to check two and…
Q: Given the tables below, which query will execute successfully? Employee (EmpID, name, Gender,…
A: Answer given below :
Q: List details of all customers from Canberra that have enrolled in a course order by Customer Number.
A: Answer
Q: What is the CIV of each of the customers?
A: We can find CIV for each like this
Q: Use SQL and TAL Distributors database to complete the following questions: List the customer…
A: SELECT statement :- It is used to retrieve information from the table or database. The syntax for…
Q: Prepare a list of customers that each of the four brokers (Benson, Kennedy, Hilda and Nat) have.
A: The given problem is related to data structure array and linked list which contains two arrays and…
Q: Please produce a set of normalized relations from the following table: INVOICE Invoice Customer…
A: Q1. The primary key for the given relation is {Invoice#,CustomerID#} The functional dependencies…
Q: How does entity who performs recursive query knows which IP address to send a query
A: Given :- How does entity who performs recursive query knows which IP address to send a query?
Q: Create SQL statement (JOIN) to display a list with salesman name, customer name and their cities for…
A: Create SQL statement (JOIN) to display a list with salesman name, customer name and their cities for…
Q: Define INTERSECT and give one (1) example in ORACLE SQL commands.
A: INTERSECT operator, which returns only those unique rows returned by both queries:
Q: List the product ID from the highest selling product in France (Inner join ) Write a query to…
A: We need to write queries for given scenarios.
Q: Write a query to display the book number, title, year of publication, subject, and cost for all…
A: Hi, We will perform the question implementation in SQL DB language. For that, we will follow the…
Q: Display the product ID and the number of orders placed for each product. Show the results in…
A: SQL (Structured Query Language) is a database computer language primarily designed for the…
Q: You want to find all the products that are less than or equal to $95. How should this be set up?…
A: When you compare non-null expressions, the result is TRUE if the left operand has a value lower…
Q: List the balance characteristics of the customers who have made purchases during the current invoice…
A: SELECT CUS_CODE, CUS_BALANCE FROM CUSTOMER WHERE CUSTOMER.CUS_CODE IN (SELECT DISTINCT…
Q: Q14) how many products with price < 10
A: You have asked multiple questions so we will solve the first one for you. If you want any other…
Q: Find out the customers with balance of $3500 or more. Your result should include the most recent…
A: SELECT INVOICE .INV_NUM WHERE TOP INVOICE .INV_DATE DESC, INVOICE .CUST_CODE FROM INVOICE,…
Q: Please produce a set of normalized relations from the following table: INVOICE Invoice Customer…
A: The primary key for the given relation is {Invoice#, CustomerID#} The functional dependency possible…
Q: Q2: Insert the following data in the following tables: A. carrier CarrierID CarrierName Phone range…
A: INSERT is the keyword used to insert a row into a table and let's see the statements to insert…
Q: Use select statements to create queries that answer the following questions. Only provide the…
A: Two tables are provided. The name of the first table is Order. The name of the first table is…
Q: List all orders with customer information.
A: Get all the data from both tables where this has common column cid which helps in fetching the…
Q: Branches Dream Home has branch offices in cities throughout the United Kingdom. Each branch office…
A: Given: write the following queries (n) Identify flats with at least three rooms and with a monthly…
Q: List all vendors with their address(city, state,zipcode) for all the vendors who have credited…
A: The query is written in SQLite. The vendors table is The invoice table is
Q: How do e-commerce applications, find the number of certain items, and average daily sales obtain by…
A: MapReduce is a programming framework that allows us to perform distributed and parallel processing…
Q: Find the managers who have given the most amount of money to a single organization. For the 3…
A: We need to display managers who have given the most amount of money to a single organization. For…
Q: For each customer who has a post-paid service, show how many of these customers have opted to have…
A: COUNT(): The COUNT() function calculates the number of items that meet a given set of criteria.…
Q: Which type of queuing presupposes that clients be serviced in what order?
A: Queue is a data structure and is linear in nature. The data is store in continuous linear form and…
Please help me with (b)
Step by step
Solved in 2 steps
- Read the following scenario and answer the questions given bellow.• A car rental company has its offices in three major cites of the area. Acostumer once registered with the company, can avail its services from anynearby office. Every office keeps record of the vehicles, their drivers andrenting details. Salaries of administrative staff are controlled at a single sitewhile the drivers are paid (according to the services they provide) from their local office. Rates for famous tourism spots are fixed (with a slight difference for different vehicles), while other spots are charged according to the mileage covered. 1. Identify the entities involved in the database designed for thecompany.2. Draw GCS for the system.3. Give details of any of the relations replicated on more than one sitesConsider the following College and perform the task that follows.Ocean Sound College, a liberal arts college located on the West Coast, provides dormitory housing for approximately half of its students. Students who choose not to live on campus, or who do not get assigned dormitory space, must find housing in the surrounding community. Currently, the housing office uses a cumbersome system of multiple binders to keep track of housing opportunities for students, faculty, and staff of the college. Housing listings are for college-owned housing, housing owned by private parties including landlords and individuals looking for roommates. The current system is difficult to maintain and keep up-to-date. The new college president approved a request to fund the development of a system to provide easier access and maintenance of listings. You are the systems analyst assigned from the college IT department to conduct the initial investigation into the feasibility of such a system. The preliminary…In the following criteria, provide some instances of how they may be restated using quantitative language. You are free to communicate the requirements using whatever metrics that you like. 1 The circulation system at the library has to be user-friendly.2 The library system is responsible for providing uniform service to all patrons.3 The library system is required to provide prompt responses to any inquiries made by patrons for book information.
- E8.4 Consider the following scenario involving Pineview Ford, an auto dealership. Auto dealership Pineview Ford is organized as follows: • Pineview Ford keeps track of Vehicle Identification number of every vehicle that is for sale, sold, serviced, or rented by the dealership. • Vehicles are sold via a sale transaction. One transaction involves one sales person, one client, and one vehicle. • Vehicles are serviced via a service transaction. One transaction involves one service person, one client, and one vehicle. • In addition to selling and servicing vehicles, Pineview Ford occasionally rents vehicles. One rental transaction involves one rental agent, one client, and one vehicle. Pineview Ford wants to create the analytical database (data warehouse) to analyze their revenue. The two available data sources, Source 1 and Source 2, are described below. Source 1 Pineview Sales and Service Database Source 2 Pineview Rental Log The data warehouse has to enable an analysis of revenue by…E8.4 Consider the following scenario involving Pineview Ford, an auto dealership. Auto dealership Pineview Ford is organized as follows: • Pineview Ford keeps track of Vehicle Identification number of every vehicle that is for sale, sold, serviced, or rented by the dealership. • Vehicles are sold via a sale transaction. One transaction involves one sales person, one client, and one vehicle. • Vehicles are serviced via a service transaction. One transaction involves one service person, one client, and one vehicle. • In addition to selling and servicing vehicles, Pineview Ford occasionally rents vehicles. One rental transaction involves one rental agent, one client, and one vehicle. Pineview Ford wants to create the analytical database (data warehouse) to analyze their revenue. The two available data sources, Source 1 and Source 2, are described below. Source 1 Pineview Sales and Service Database Source 2 Pineview Rental Log The data warehouse has to enable an analysis of revenue by…Q4) Find the boundary condition that makes the following two ambulance dispatching system requirements strongly conflicting. (Patient's viewpoint) "The free ambulance nearest to the incident scene should be dispatched" And (driver's viewpoint) "Ambulances should keep close to their station". How would you modify the requirements so that they would not conflict?
- Question 2:In the University library every 5 minutes a student arrives arrives. The librarian takes 3 minutesto serve student. Complete the following table (for 10 students) and calculate the averagetime a student spends in the system, arrival rate, service rate and percentage idle time of server.(Assume the first student arrives at 8:00 A.M and service begin immediately).Using the table, either buying a network of PCs for a department at your workplace or outfitting a laboratory of PCs for students at a university, conduct a multicriteria analysis that contrasts at least three alternative configurations with at least three different requirements and three different constraint criteriaWhen analyzing areas surrounding (or ‘near’) a location (such as a school) for demographic characteristics (such as number of persons of school age, or median household income), there are a variety of choices to define what ‘near’ should be. Two of the most common ways to do this with vector analysis are to use a ‘buffer’ (such as a 1-mile buffer) or a network ‘service area’ (such as a 4-minute drive-time). If you were asked to analyze an area surrounding (‘near to’) existing Health Clinic locations (somewhere in the US) for information on the number of households and income of those households, what is the level of geographic detail and type (or source) of data that you would likely use to obtain the demographic information? Would you choose to use a ‘buffer’ or a ‘network service area’ (or another choice) to define the area ‘near’ the Emergency Rooms? Why? After defining and creating the “near” area, what analysis operation would get the information from the demographic data layer…
- a) Suppose that You have gotten a job planning databases for the European Union. Yourfirst on job assignment is to help the various countries maintain information about theirinhabitants. Your model should capture the following information:• In each country, there are provinces, which contain towns. There cannot be twoprovinces with the same name in a single country. Similarly, there cannot be two townswith the same name in a single province.• People live in towns. Men and women work in a town. Children learn in a school in atown.• A person can be a man, a woman, or a child, and has a first-name, last-name, id, andbirthday.Children are any people under the age of 18.• A man can be married to a woman (polygamy is not allowed, i.e., one man can bemarried only to one woman). Although the Pope strongly disapproves, divorce, andsubsequent remarriage, is possible.• For each marriage, store the date of the marriage and information about who are thechildren of the married couple. You should…Consider the following list of requirements related to a large enterprise with several companies, for which you are required to come up with an ER model. Each company operates four departments, and each department belongs to one company. Each department in part (a) employs one or more employees, and each employee works for one department. Each of the employees in part (b) may or may not have one or more dependents and each dependent belongs to one employee. Each employee in part (c) may or may not have an employment history, which includes his employments until the employee joined this enterprise as well as the employment history within the enterprise (after joining). Which of the following statements are true about the ER diagram (assuming it is a good design)? Employment history will be a weak entity. There will be a many-to-many relationship between company and employee. The relationship between department and employee will be optional for departmentAs a large service organization, King Abdullh University Hospital depends on a large number of persons for its continued success. There are four groups of persons on whom the hospital is most dependent: employees, physicians, patients, and volunteers. Of course some common attributes are shared by all of these persons: Person_ID (identifier), Name, Address, Ciy/State/Zip, Birth_Date, and Phone. Each of the four groups of persons has at least one unique attribute of its own. Employees have a Date_Hired, Volunteers have a Skill, Physicians have a Specialty and a Pager# (pager number), and Patients have a Contact_Date (date of first contact with the hospital). Some other persons in the hospital community do not belong to one of these four groups (their numbers are relatively small). However, a particular person may belong to two (or more) of these groups at a given time (for example, Patient and Volunteer). Each patient has one (and one only) physician responsible for that patient. A…