okay so when you use commands to fetch data you use it on the server right?
Idk what you mean by commands to fetch, there isn't a SQL CLI. The app you use, say MSSQL, will have UI you can use to connect to a server, you'll just need to enter a server name and password if that's required
SELECT Products.ProductID,
AVG(OrderDetails.UnitPrice (1 - DISCOUNT) ) AS AveragePriceReceived,
Products.UnitPrice,
(AVG(OrderDetails.UnitPrice (1 - Discount) ) - Products.UnitPrice) /
AVG(OrderDetails.UnitPrice * (1 - Discount) ) AS PercentPriceDifference
FROM OrderDetails
INNER JOIN
OrderHeaders ON OrderDetails.OrderID = OrderHeaders.OrderID
INNER JOIN
Products ON Products.ProductID = OrderDetails.ProductID
WHERE OrderHeaders.OrderDate BETWEEN '2019-01-01' AND '2019-12-31'
GROUP BY Products.ProductID;
this what they got u doin at work bvl?
Idk what you mean by commands to fetch, there isn't a SQL CLI. The app you use, say MSSQL, will have UI you can use to connect to a server, you'll just need to enter a server name and password if that's required
but isnt what bvl just posted commands to view data?
thats what i meant
outsource the work
this what they got u doin at work bvl?
nah I just actually had a project using SQL this semester. Just posting my work from it
nah I just actually had a project using SQL this semester. Just posting my work from it
so what you wrote was you searching product units and s*** right?
imma pay them 2 dollars an hour
has your work given you server credentials for their sql database?
has your work given you server credentials for their sql database?
what tf is server credentials?
what tf is server credentials?
ip
username
password
yes
its over.
nah I just copy and pasted
its 2022
i wish there was a website i can get the commands for s***
but isnt what bvl just posted commands to view data?
thats what i meant
Ah yes
SQL is unique in that its language is based on certain keywords, one being select. Select * from table_name is how you see a table
u memorized this s***?
It’s easy if you know the data structure. SQL syntax is very simple.
i wish there was a website i can get the commands for s***
There is, Google.com