Question
I don't know much about JSON. HELP!!! The Query is: SELECT SI.StockItemName, SI.QuantityPerOuter, SI.UnitPrice, SI.RecommendedRetailPrice, S.SupplierName, SC.SupplierCategoryName, S.PhoneNumber, S.WebsiteURL, PC.FullName, PC.PhoneNumber, PC.EmailAddress, AC.FullName, AC.PhoneNumber, AC.EmailAddress
I don't know much about JSON. HELP!!!
The Query is:
SELECT
SI.StockItemName,
SI.QuantityPerOuter,
SI.UnitPrice,
SI.RecommendedRetailPrice,
S.SupplierName,
SC.SupplierCategoryName,
S.PhoneNumber,
S.WebsiteURL,
PC.FullName,
PC.PhoneNumber,
PC.EmailAddress,
AC.FullName,
AC.PhoneNumber,
AC.EmailAddress
FROM
Purchasing.Suppliers S
INNER JOIN Warehouse.StockItems SI ON S.SupplierID = SI.SupplierID
INNER JOIN Purchasing.SupplierCategories SC ON SC.SupplierCategoryID = S.SupplierCategoryID
INNER JOIN Application.People PC ON S.PrimaryContactPersonID = PC.PersonID
INNER JOIN Application.People AC ON S.AlternateContactPersonID = AC.PersonID
ORDER BY
SI.UnitPrice DESC,
SI.StockItemName
Alter the SQL query below to get the results to match the format of the below JSON string The first item in the results looks like the below. You may need to use a JSON formatter to make sure you have it correct "Item": "Name": "Air cushion machine (Blue)", "QuantityPerOrder": 1, "UnitPrice": 1899.00, "RecommendedPrice":2839.01, "Supplier:t "Name":"Litware, Inc." "Category":"Packaging Supplier", "Phone": "(209) 555-0188", "Website": "http://www.litwareinc.com" "Contacts": f "Primary":t "Name": "Elias Myllari", "Phone":"(209) 555-0101", "Email": "eliasm@litwareinc.com" 3, "Alternative": { "Name": "Vilma Niva", "Phone":"(209) 555-0103", "Email":"vilman@litwareinc.com" Alter the SQL query below to get the results to match the format of the below JSON string The first item in the results looks like the below. You may need to use a JSON formatter to make sure you have it correct "Item": "Name": "Air cushion machine (Blue)", "QuantityPerOrder": 1, "UnitPrice": 1899.00, "RecommendedPrice":2839.01, "Supplier:t "Name":"Litware, Inc." "Category":"Packaging Supplier", "Phone": "(209) 555-0188", "Website": "http://www.litwareinc.com" "Contacts": f "Primary":t "Name": "Elias Myllari", "Phone":"(209) 555-0101", "Email": "eliasm@litwareinc.com" 3, "Alternative": { "Name": "Vilma Niva", "Phone":"(209) 555-0103", "Email":"vilman@litwareinc.comStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started