Microsoft Office

Microsoft Office Questions? Ask a IT Expert for Support ASAP

Ask a Computer Expert,
Get an Answer ASAP!

Microsoft Office
This answer was rated:

Project the all columns from the PURCHASE_ORDER table; limit

Project the all columns from...

Project the all columns from the 

Show More
Show Less
Ask Your Own Microsoft Office Question
Answered in 2 minutes by:
10/16/2013
The-PC-Guy
The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 2,086
Experience: 20 years experience providing remote computer support
Verified

 

The-PC-Guy :

Thanks for using JustAnswer. My name isXXXXX will do whatever I can to answer your question

The-PC-Guy :

Which program was your database created in?

JACUSTOMER-d1iyxteq- :

I think xxx

The-PC-Guy :

xxx server?

The-PC-Guy :

it makes a difference for the syntax

JACUSTOMER-d1iyxteq- :

I have more question

The-PC-Guy :

ok, the way this site works is that you ask one question at a time, and when you receive your answer you rate the expert

The-PC-Guy :

you will then have an opportunity to ask me more questions

The-PC-Guy :

via my profile

The-PC-Guy :

but lets address your first question

JACUSTOMER-d1iyxteq- :

okay

The-PC-Guy :

so

The-PC-Guy :

the suppliers 802 and 803

The-PC-Guy :

what is the column heading that is comming from?

JACUSTOMER-d1iyxteq- :

SELECT *

 

 

xxxxxxxxxx

 

 

xxxxxxxxxxxx;

The-PC-Guy :

yes, that is a typical query

The-PC-Guy :

but we need to know the column name

The-PC-Guy :

that the xxx and xxx are in

The-PC-Guy :

so it works correctly

JACUSTOMER-d1iyxteq- :

I was trying this way but it wouldn't work

The-PC-Guy :

yup

The-PC-Guy :

i know why

The-PC-Guy :

and can help you fix it

JACUSTOMER-d1iyxteq- :

okay

The-PC-Guy :

can you tell me what the column name is

The-PC-Guy :

that the xxx and xxx are in

The-PC-Guy :

or all of the other 800 numbers

The-PC-Guy :

ect..

The-PC-Guy :

just need the name of the column

The-PC-Guy :

the xxxxxxx xxxxx xxxxx

The-PC-Guy :

will have a list of all of the column names

JACUSTOMER-d1iyxteq- :

that I couldn't find the question is just like that

The-PC-Guy :

do you have a copy of the actual database?

JACUSTOMER-d1iyxteq- :

I can send you the whole question

The-PC-Guy :

ok, lets try that

JACUSTOMER-d1iyxteq- :

Question 1 [3pts possible]:

xxxxxx Xxxxx xxxxx xxxx xx xxx xxxxxx xxxxx; xxxxxxxx xxxxxxx xxxxxx xxx xxxx Xxxxxx.'

 

 

+CHAR(10)

--

-- SELECT *

 

 

xxxxxxxx

 

 

xxxxxxx

--

GO

 

GO

PRINT

 

 

xxx(10)+'xxxxxxx, xxx xxxx x, xxxxxxx Xxx [3pts possible]:

xxxxxxxxx xxxxxxx xxxx xxxx xxxxxxxxx xxx and xxxx.

Use the OR condition in your WHERE clause.'

 

 

+xxxx(10)

--

-- SELECT *

 

--

GO

 

 

GO

PRINT

 

 

 

Project the all columns from the xxxxxx xxxxx xxx xxxxxxxxxxx xxxx x x xxxx xxxx xxx xxxxx

Use the IN condition in your WHERE clause.'

 

 

 

--

-- SELECT *

 

 

xxxxx xxxxxxxxxx

 

 

xxxxxxx xxxxxxx xxxxxx xxxx;

--

GO

 

 

GO

PRINT

 

 

 

Show the name and title for all employees with an EmpID value less than 6:'

 

 

 

--

-- SELECT *

 

 

 

 

GO

PRINT

 

Display the invoice number and customer ID for all records in the INVOICE table which have a TotalPrice

value less than $100; sort the results by customer ID (in descending order).'

 

--

--

--SELECT INVOICE NUMBER, CUSTOMER ID

 

GO

 

GO

PRINT

 

Show the Type and Version of every stove in the STOVE table - except the ones which are RED or BLUE.

Sort your results in order of Type, then Version; eliminate duplicate values.'

 

--

-- SELECT TYPE, VERSION

 

--

GO

 

GO

PRINT

 

Show the invoice number and total price from the INVOICE table for all of the invoices for customer number 125.

List them in order of invoice date, and re-name the columns using AS.'

 

--

-- [Insert your code here]

--

GO

 

GO

PRINT

 

Get the information for all invoices which have a total price between $100 and $200 (inclusive); show the invoice

number, total price, and employee number. Order the output by invoice number.'

 

 

--

-- [Insert your code here]

--

GO

 

GO

PRINT

 

xxxxxxxxxx

 

xxxxxx

--

-- [Insert your code here]

--

GO

 

GO

PRINT

 

 

Cxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxx xxxxxxxx xxxxxxxxx xxx x x x

(hint: use LIKE and a wildcard).'

 

 

xxxxxx

--

 

 

xxxxx*

 

 

xxxxxxxx

 

 

xxxxxx

GO

JACUSTOMER-d1iyxteq- :

did you get it?

The-PC-Guy :

yes

The-PC-Guy :

that is all the info you have

JACUSTOMER-d1iyxteq- :

yes

The-PC-Guy :

beacuse this is practially impossible without the actual db

The-PC-Guy :

your original question would normally look like this in sql

The-PC-Guy :

SELECT * Fxxxxx xxxx xxxxx xxxxxxxx'

JACUSTOMER-d1iyxteq- :

yes

The-PC-Guy :

what we need is what columnname is

The-PC-Guy :

so i cannot give you complete SQL queries until we get all of the information, or a copy of the database

The-PC-Guy :

if you would like to get that information

The-PC-Guy :

then get back to me

The-PC-Guy :

Iwould be happy to help you then

JACUSTOMER-d1iyxteq- :

i

JACUSTOMER-d1iyxteq- :

how about the other question?

JACUSTOMER-d1iyxteq- :

can you help me please?

The-PC-Guy :

ok

The-PC-Guy :

let me see which ones I can help with

The-PC-Guy :

Question 1 [3pts possible]:

Display each StateProvince value in the CUSTOMER table; eliminate duplicate values in your results.'

 

 

+CHAR(10)

--

-- SELECT *

 

 

FROM CUSTOMER

 

 

ORDERBYSTATEPROVINCE;

--

GO

 

GO

PRINT

The-PC-Guy :

would be

JACUSTOMER-d1iyxteq- :

number 3

The-PC-Guy :

xxxxxx xxxxx xxx xxxxxxxxxxx xxxx x x xxxx xxxx xxx xxxxx

JACUSTOMER-d1iyxteq- :

number 1 and 4 I gat the answer

The-PC-Guy :

3 was the one where we needed more info

JACUSTOMER-d1iyxteq- :

okay can you please try the rest of the question?

The-PC-Guy :

4

The-PC-Guy :

5

The-PC-Guy :

xxxxxx xxxxx xxx xxxxxxxxxxx xxxx x x xxxx xxxx xxx xxxxx

The-PC-Guy :

6

The-PC-Guy :

Sxxxxxx xxxxx xxx xxxxxxxxxxx xxxx x x xxxx xxxx xxx xxxxx

The-PC-Guy :

7

The-PC-Guy :

Show the invoice number and total price from the INVOICE table for all of the invoices for customer number 125.

List them in order of invoice date, and re-name the columns using AS

The-PC-Guy :

Sxxxxxx xxxxx xxx xxxxxxxxxxx xxxx x x xxxx xxxx xxx xxxxx

The-PC-Guy :

8

The-PC-Guy :

Get the information for all invoices which have a total price between $100 and $200 (inclusive); show the invoice

number, total price, and employee number. Order the output by invoice number.'

The-PC-Guy :

SELECT invoice number, total price, employee number FROM whateverthetablenameis WHERE total price >=100 AND total price <= 200 ORDER BY invoice number ASC

The-PC-Guy :

good so far?

JACUSTOMER-d1iyxteq- :

YES

The-PC-Guy :

ok

The-PC-Guy :

let me get you 9 and 10

The-PC-Guy :

then you can pay me

The-PC-Guy :

by rating

The-PC-Guy :

9

The-PC-Guy :

xxxxxx xxxxx xxx xxxxxxxxxxx xxxx x x xxxx xxxx xxx xxxxx (i.e. the Description value begins

with either of those two words - use LIKE and a wildcard to match).'

The-PC-Guy :

inotherwords

The-PC-Guy :

every time the 1000s place changes

The-PC-Guy :

you want a blue bottom border across the row

The-PC-Guy :

and you want that to be done with macro

The-PC-Guy :

is this correct so far?

The-PC-Guy :

sorry wrong question

The-PC-Guy :

working on yours but someone else contacted me at the same time

The-PC-Guy :

@9

The-PC-Guy :

#9

The-PC-Guy :

xxxxxx xxxxx xxx xxxxxxxxxxx xxxx x x xxxx xxxx xxx xxxxx

with either of those two words - use LIKE and a wildcard to match).'

The-PC-Guy :

xxxxxx xxxxx xxx xxxxxxxxxxx xxxx x x xxxx xxxx xxx xxxxx

The-PC-Guy :

#10

The-PC-Guy :

xxxxxx xxxxx xxx xxxxxxxxxxx xxxx x x xxxx xxxx xxx xxxxx

(hint: use LIKE and a wildcard).'

The-PC-Guy :

xxxxxx xxxxx xxx xxxxxxxxxxx xxxx x x xxxx xxxx xxx xxxxx

The-PC-Guy :

that should do it for you

The-PC-Guy :

PLEASE REMEMBER TO RATE MY SERVICE USING THE SMILEYS BENEATH THIS CHAT

The-PC-Guy :

BONUS ALSO APPRECIATED

JACUSTOMER-d1iyxteq- :

how much is that?

The-PC-Guy :

the cost of the question was $45

The-PC-Guy :

that was the value you selected

The-PC-Guy :

rating will not cost you anything additional

The-PC-Guy :

you have the option of adding a bonus if you wish

The-PC-Guy :

if you think I did an exceptionally good job

JACUSTOMER-d1iyxteq- :

you already the money right?

The-PC-Guy :

no

The-PC-Guy :

not until you rate

The-PC-Guy :

that is how the site works

The-PC-Guy :

the smiley faces underneath this chat

The-PC-Guy :

is how you do that

JACUSTOMER-d1iyxteq- :

I don't understand can you explain me please this is my firs time so

The-PC-Guy :

this link explains it all

JACUSTOMER-d1iyxteq- :

do I have to decide how much you can get?

The-PC-Guy :

I am not sure what you see on your screen, I only am a contractor. I do not get paid until you rate using the smileys below this chat

The-PC-Guy :

if you are still confused

The-PC-Guy :

I can send the question to customer service

The-PC-Guy :

or you can contact them at

The-PC-Guy :

Need help? Call our Toll-Free Customer Service

US/Canada 1.888.862.9212
Available 6am to 6pm PST

International
Available 24/7 for calls from outside US/Canada:

Australia 1800-679-634
New Zealand 0800-452-621
United Kingdom 0808-189-0970
The rest of the world 1-925-418-3893

JACUSTOMER-d1iyxteq- :

okay

JACUSTOMER-d1iyxteq- :

I will rate excellent

41670.7435032986
The-PC-Guy
The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 2,086
Experience: 20 years experience providing remote computer support
Verified
The-PC-Guy and 87 other Microsoft Office Specialists are ready to help you
Ask your own question now
Ask The-PC-Guy Your Own Question
The-PC-Guy
The-PC-Guy
The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 2,086
2,086 Satisfied Customers
Experience: 20 years experience providing remote computer support

The-PC-Guy is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

jstinehelfer

jstinehelfer

Information Systems Manager

36 satisfied customers

A+ Comptia Certified computer repair

JasonJames122

JasonJames122

Computer Enthusiast

0 satisfied customers

I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business

Jess M.

Jess M.

Computer Support Specialist

701 satisfied customers

Computer Software Specialist for more than 10 years

The-PC-Guy

The-PC-Guy

Computer Manager

2,086 satisfied customers

20 years experience providing remote computer support

James K.

James K.

Consultant

260 satisfied customers

Technical Director of IT Company

IT Miro

IT Miro

Computer Scientist

157 satisfied customers

Bachelor's Degree in Information Technology, Microsoft Certified Professional

Chris L.

Chris L.

Support Specialist

147 satisfied customers

Certified Expert with over 10 years experience.

< Previous | Next >

Related Microsoft Office Questions
I have just had to reload /restore my Windows software as my
Hi, I have just had to reload /restore my Windows software as my system no longer logged onto the internet. One day to the next, it just would not show me Wifi connection details. I fixed that with th… read more
technicalcat
technicalcat
Computer Science
838 satisfied customers
I'm trying to get an IF/THEN/ELSE statement to work in a
Hi there. I'm trying to get an IF/THEN/ELSE statement to work in a mail merge. Here it is in a nutshell: … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I purchase a new Dell Laptop; order number 324841229;
I purchase a new Dell Laptop; order number###-##-#### Customer number###-##-#### as part off the purchase on 1/12/2018, was the software for Microsoft Office 365 personal. DE000000215429516 … read more
JJesus Perez Gonzale
JJesus Perez Gonzale
Bachelors of Science, Computer Engineering
37 satisfied customers
Why thank you. I have a word document in docx stored in
Why thank you. I have a word document in docx stored in Dropbox. When I access on my iPad Pro 10.5, it's format is messed up. Was looking on the internet for some help. … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I just ran the latest update for microsoft office and now I
I just ran the latest update for microsoft office and now I can't see any letters when I type on a page????? … read more
Kamil Anwar
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
434 satisfied customers
It seems that a worksheet I was working on is no longer
It seems that a worksheet I was working on is no longer there. The workbook went white with small blocks at random places on the screen. I know I did not delete it. How can I recover it? It shows in t… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I have two MacBook pros htat I bought teo copies of Office
I have two MacBook pros htat I bought teo copies of Office home/student. My issue is my wifes mac shows my one drive since I purchased both copies. How can I get her mac to point to her own onedrive s… read more
Kamil Anwar
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
434 satisfied customers
I hit undo too many times on my mac excel sheet and now I
I hit undo too many times on my mac excel sheet and now I cannot get it to redo the changes -- I've lost all the work … read more
Richard
Richard
IT Manager
IT Manager, Consultant
3,281 satisfied customers
You keep on asking for a 4 digit code. I only have a 7 digit
You keep on asking for a 4 digit code. I only have a 7 digit code … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
Help me get aa password from Microsoft 365. I am 85 and not
Please help me get aa password ***** Microsoft 365. I am 85 and not that good at solving problems… read more
Kamil Anwar
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
434 satisfied customers
My microsoft outlook express email will no longer send.
My microsoft outlook express email will no longer send. cannot find liscence # … read more
Richard
Richard
IT Manager
IT Manager, Consultant
3,281 satisfied customers
I got a new computer and geek squad did not put Microsoft
I got a new computer and geek squad did not put Microsoft work back into my com puter. I have the product key. How do I reinstall it … read more
Josh
Josh
It Support Specialist
Associate Degree
5,140 satisfied customers
Running Outlook 2016 on Windows 7 machine. I disabled junk
Running Outlook 2016 on Windows 7 machine. I disabled junk in the program and the registry and it is still placing critical emails in the junk folder. How do I disable?… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
My MS 2016 stopped working. Win 10. No I haven't used it in
My MS 2016 stopped working JA: What application are you using? Customer: win 10 JA: Have you installed any updates recently? Customer: no I haven't used it in a while JA: Anything else you want the Mi… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
Just updated the Office 16 automatically and neither of my
Just updated the Office 16 automatically and neither of my printers will print Word files. Will print when using old Office 11 program. What can I do? … read more
RussellA
RussellA
Solutions Architect
Bachelor\u0027s Degree
123 satisfied customers
Microsoft Outlook error messages: 0x8004210A. & 0x800Ccc92 I
Microsoft Outlook error messages: 0x8004210A. & 0x800Ccc92 I changed my Gmail password, causing these errors apparently. Today is my last day of membership.… read more
Kris R
Kris R
IT Manager
Computing
2,654 satisfied customers
Cannot get the security updates to go on Windows 10. No. is
Cannot get the security updates to go on Windows 10. No. is Oxc1900208 … read more
Cody
Cody
Computer Science
1,716 satisfied customers
I just recently I cannot send and receive the emails. When I
Hi I just recently I cannot send and receive the emails. When I click the button(send and receive)of tool bar, The message of "operation failure" comes up. Also, most buttons of tool bar doesn't work.… read more
Cody
Cody
Computer Science
1,716 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x