46. Which of the following is not a privacy/security law? A. TCPA B. HIPPA C. GLBA D. FCRA
Q: Which of the last names will be matched by the WHERE clause in the following query? SELECT empID…
A: SELECT empID from personnel WHERE lastName LIKE 'Jo_s'
Q: Task 4: Create a view named PROPERTY_OWNERS. It consists of the property ID, office number, square…
A: Answer is given below .
Q: SQL code: to add an additional column ex: ALTER TABLE chicken ADD dish varchar(30) Question: How…
A: Alter table is used to add or modify table structure. In sql it is possible to add default values…
Q: MAKE a SELECT statement that will display customers that have an email address that uses…
A: Write a MySQL query to display the customers that have an email address that uses yahoo.com. Display…
Q: please use the picture below to answer the following question Display employee number, employee…
A: SELECT EmployeeID, Emp_LName, HireDate FROM Employee e JOIN Position pWHERE e.Emp_LName like '%e%'…
Q: The command DESC DEPARTMENTS shows the following information Name Null? Type DEPARTMENT ID NOT NULL…
A: Let's see the answer
Q: You need to return all travel data from the TRAVELS table for the CAR_ID which has a plate number…
A: Here, you need to join both the tables with same car_id whose car_plate is BB-883-***
Q: 1. In the Orderltems table, display a count of the number of products with a prod_id of BR01.…
A: To display the count of products with a prod_id of BR01 from the OrderItems table with the given…
Q: Insert into the LARGE_PROPERTY table the office number, address, bedrooms, floors, monthly rent, and…
A: Columns from the property table that have a square footage of more than 1,500 square feet need to be…
Q: The Driver Relationship team realized that maintaining driver IDs is difficult and requested an…
A: The objective of the question is to modify a database table to automatically increment the DRIVER_ID…
Q: Using the WHERE clause, filter the invoice table to find the invoices that were dated after March…
A: The question has been answered in step2
Q: 8. In the OrderItems table, display the minimum item_price with the alias shown. 2.49 1 rows…
A: Below is the complete solution with explanation in detail for the given question about writing query…
Q: 4. Determine which books customer Jake Lucas has purchased. Perform the search using the customer…
A: This question is from the subject database design and implementation. Using Sql we can solve this…
Q: Display the PID and average prices from the PRODUCTS table which price is less than the average…
A: Here we need to perform group by operation in the main query and use Having clause to select only…
Q: In cell B20, enter a formula to calculate the number of clients the sales associate had with annual…
A: The solution to this task involves using the COUNTIFS function, which allows you to count the number…
Q: SQL code Select the idLitCharacters, name, Gender, Creature SubType. You newest author wants a…
A: SOLUTION -two criteria you've specified:Female Pirates:Gender is 'Female'.Creature SubType is…
Q: Products_UPDATE should check DiscountPercent. This trigger should error if discount % is 100 or…
A: As technology continues to advance and become more integrated into our lives, it is important to…
Q: Task 6: Find the ID, first name, and last name of each customer for which an invoice was not created…
A: SQL queries are a set of instructions given to the database to retrieve specific data. SQL was…
Q: Result : Honda Toyota 2 3 O Select Make, Count(Make) FROM Auto Group By Make; Select Make,…
A: COUNT() is an aggregate function that counts the number of rows returned by a query.The HAVING…
Q: CARD_NO PLAYER_NO TEAM_CODE PRICE 44 BR 4.45 27 BR 3.5 54 BR vers cards
A: query SELECT team_code,COUNT(card_no) AS TOTAL_CARD_NO, to_char(SUM(price),'$99.99') as total_price…
Q: Task 17: List the invoice number and invoice date for each invoice that was created for James…
A: We need to provide a query that lists the invoice number and invoice date for each invoice that was…
Q: Do you have any example PHP code for the follower & following to pull the data from the SQL database…
A: Sure, here is an example PHP code that demonstrates how to retrieve follower and following data from…
Q: Which one of the following attribute (set) should be candidate key? ( ) Student ID number, First…
A: In the context of database design, selecting the appropriate candidate key is crucial to ensure data…
Q: 7. Create the BOOKS table: Column Name Data Type Size Constraints BookID Number 5 PRIMARY KEY NOT…
A: SQL stands for Structured Query Language.
Q: For every invoice, display the invoice number, invoice date and the total dollar amount for all…
A: Dear student your query get the error because inv_number exist in the two table so you have to…
Q: Task 7: The StayWell marketing team considers sending small gifts to all residents and owners. To…
A: Sure, I can help you with that. The StayWell marketing team wants to send small gifts to all…
Q: Determine which categories are covered by the existing book stock. There should only be one listing…
A: A trader's book contains a record of all of the positions that they have taken. The entire number of…
Q: The InstantRide Finance team also wants to analyze travels where more than the average discount rate…
A: For given InstantRide Finance team database, need to write query to create a SELECT statement which…
Q: column name
A: We need to select Which column name is valid? We've to Select one from: a. NUMBER_1$ b. NUMBER c.…
Q: 7. In the OrderItems table, display the maximum item_price with the alias shown. 11.99 Max Item…
A: Algorithm:Select the maximum value of the item_price column from the OrderItems table.Display the…
Q: Write a SELECT statement that uses the ranking functions to rank products by the total quantity…
A: This query uses a JOIN between the Products and Order_Items tables to get the total quantity of each…
Q: 2. Write a SQL statement to insert a new user with userId ‘XXXXX’ into the users table and populate…
A: The question has been solved in step2:
please choose the most correct anwser.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
- You have been told that you need to store the zip code for employees. Add a column to the EMPLOYEE table which will be used to store each employee’s zip code Update two rows in the EMPLOYEE table and assign a zip code (must have a WHERE clause). (you MAY use 1 or 2 statements) Write a query that includes each employee's last name, department name (not ID), and salary for each employee whose salary is less than the average for their departmentIn the BOOK_PRICING table, you should indicate that the Category field is not being utilized. Confirm that the column is no longer an option to choose.Apply the First Normal Form (1NF) and Second Normal Form (2NF) steps to the following two tables. ST_ID ST_Name ST_Major St_Phone ST_Email 100 Marla jen ACCT (703) 111-2222 mjen@gmail.com 110 Jan Bok MGMT (703) 222-3333 jbok@verizon.net 115 Lee Chan MIS (703) 333-4444 (703) 444-5555 lchan@cox.net Table 1 ID Name Courses 1 Ashely Key MIS 302, MIS 303 2 Katy Pery MIS 310 3 Mickey Zen MIS 303, MIS 350 Table 2
- Task 22: KimTay Pet Supplies is considering discounting the price of all items by 10 percent. List the item ID, description, price, and discounted price for all items. Use DISCOUNTED_PRICE as the name for the computed column.SQL Server Please help answer question 5 Please type out the answer because I cannot read the last answer because the handwriting is not very clear. Thank you.Without using the MAJOR_CUSTOMER VIEW, retrieve the customer ID, first name, and last name for every customer whose credit limit is $500 or less.
- Which result set requires a JOIN? Showing all album titles with both artist ID and album ID Showing artist names with artist_id's Showing artist_id with album title Showing all album_id's with artist namesSQL: For every invoice, display the invoice number, invoice date and the total dollar amount for all products purchased in the invoice, ordered by invoice number in descending order and then by invoice date in ascending order. Here you will use an aggregate SUM(x,y) function in your SELECT clause to calculate the total dollar amount (a calculated field – name it TOTAL). Don’t forget to join on the tables as well. [hint: you should have 8 rows of output ordered properly]. select inv_number, inv_date sum(list_price) as 'total' from invoice, line order by desc inv_num, asc inv_date. I am getting the error: ORA-00923: FROM keyword not found where expected Am I formulating the query incorrectly?Scenario and Database Model: Instant Ride InstantRide is the new ride sharing application in the city and it has just started its operations. With the help of the Instant Ride mobile application, the users request a ride with their location. Drivers and cars are assigned to the request; and then the driver picks up the user to ride their requested location. Information for the users, drivers and cars are stored in the database as well as the travel transactions. In the USERS table, information for the users are stored with their first name, last name and email: USER_ID 3001 3002 3003 3004 3005 3006 3007 3008 USERS Table 2001 2002 2003 2004 USER_FIRST_NAME Willie Justin Anthony Ece Jack Ryan Nursin Sarah Bobby Randy Jose DRIVERS Table Nursin Butler Howard In the DRIVERS table, all the drivers in the InstantRide are stored with their name, driving license number and check and rating information: Walker DRIVER_ID DRIVER_FIRST_NAME DRIVER LAST NAME DRIVER DRIVING LICENSE_ID…
- Based on the ERD below, display the first name, last name and employee initial of anyone whose first name starts with “A”. (Hint: You will use a “Like” phrase.)Formula to calculare the total sales amount of the customer name HORSHOE INCORPORATED. Note: This excel worksheet goes up to row 1699! Thanks.