Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Turning your work in: 1. Upload this completed document to BlackBoard>Assignment

ID: 3698523 • Letter: T

Question

Turning your work in: 1. Upload this completed document to BlackBoard>Assignments> sQL Assignment. Instructions: In this assignment, you should use w3school.com task. Available here: http://www.w3schools.com/sql/trysqlLasp?filename trysql select all 's Online SQL Editor to write SOL for the queries in each Copy and paste your SQL code into the space provided (please do not handwrite the code). .Identify the number of records returned in your query results. Use commonly accepted formatting standards that we discussed in class (such as line breaks, keywords with all letters capitated, and capitalization that matches the field/table names). .End every statement with a semicolon; .Points will be deducted for not following formatting standards. An example of what I'm looking for is given below: Example Task: Select all records and fields from the Categories table. SQL Code: Number of Records: SELECT FROM Categories As discussed in the class, there are a couple of differences between SQL in Access and SQL in the w3schools.com Online SQL Editor Statements generally run in the W3schools Online Editor even if you forget to end the statement with a semicolon. However, a statement with a missing semicolon would not run in Access SQL (or any other program that uses SQL). I will check for (presence o) semicolons when I grade your work 2. Wildeards are slightly different but do the same thing: Use % in the online system rather than Access's * Use in the online system rather than Access's % .

Explanation / Answer

Answer is as follows :

According to Chegg Guidelines, I will provide the answer for Task 1, So please repost others.

a)

SELECT * FROM Categories ORDER BY CategoryName DESC ;

b)

SELECT CategoryName FROM Categories  

c)

SELECT * FROM Products WHERE ProductName LIKE 'C%' ;

d)

SELECT * FROM Products WHERE ProductName LIKE '%Chef%' ;

e)

SELECT ProductName,Price FROM Products WHERE Price > 100 OR Price < 5 ;

f)

SELECT ProductName,Price FROM Products WHERE ProductName LIKE 'C%' AND ( Price > 100 OR Price < 5 ) ;

g)

SELECT Country FROM Customers GROUP BY Country HAVING Count(Country) = 1 ;

All the queries are run on W3schools database. You can also try their.

if there is any query please ask in comments....

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote