The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Question 15 pts
You want to view all the records in the Vendors table. Write a sql statements to do the following:
Return all columns from Vendor table
HTML EditorKeyboard Shortcuts
Font SizesParagraph
p Flag this QuestionQuestion 25 pts
You only want to view specific fields from the Contact table.Write a SQL statements to do the following:
Return only the following fields: Title, First Name and Last Name for everyone in the Contact table. Sort by Last Name, First Name in descending order.
HTML EditorKeyboard Shortcuts
Font SizesParagraph
p Flag this QuestionQuestion 35 pts
You want to return only specific fields from the Contact table. But you dont want to return every record in the table. You only want to return the TOP 5 records.Write sql statements to do the following:
Display Top 5 records from the Contact table. Return only the Title, First Name and Last Name columns.
HTML EditorKeyboard Shortcuts
Font SizesParagraph
p Flag this QuestionQuestion 45 pts
You now want to return all the fields from the Contact table. But instead of returning all records you only want to filter only those records where the first name is "Fernando." Write sql statements to do the following:
Display all columns for everyone whose First Name equals “Fernando” from the Contact table. Sort by Last Name in ascending order.
HTML EditorKeyboard Shortcuts
Font SizesParagraph
p Flag this QuestionQuestion 55 pts
You want to return all fields from the Contact table. However, you only want to return those records where there is no middle name. In other words filter the records where there is a NULL value in the middle name field. Write sql statements to do the following:
Display all columns for everyone whose middle name is NULL from the Contact table.
HTML EditorKeyboard Shortcuts
Font SizesParagraph
p Flag this QuestionQuestion 65 pts
You want to return only two specific fields from the Product table. Those fields are the Name and Product Number. You want to make sure you are returned in descending order. Write sql statements to do the following:
Display Name and Product Number from Product Table. Sort by Name in descending order
HTML EditorKeyboard Shortcuts
Font SizesParagraph
p Flag this QuestionQuestion 75 pts
You want to return only three specific fields from the Product table. Those fields are the Name, Product Number and List price. You only want to return the records where the Product ID equals to 316. In other words, filter the result set so you only return recirds with Product ID equals to 316. Write sql statements to do the following:
Display Name, Product Number and List Price from Product Table. Only return records where ProductID equals 316 .
HTML EditorKeyboard Shortcuts
Font SizesParagraph
p Flag this QuestionQuestion 85 pts
You want to return only three specific fields from the Product table. Those fields are the Name Product Number and Color. You want to only return those records where the list price is between 200 and 500. Write sql statements to do the following:
Display Name, Product Number and Color from Product Table where List Price is between 200 and 500
HTML EditorKeyboard Shortcuts
Font SizesParagraph
p Flag this QuestionQuestion 95 pts
You want to return only three specific fields from the Product table. Those fields are the Name Product Number and List Price. You want to know how many records there are that do not equal to the list price of 249.79. Write sql statements to do the following:
Display Name, Product Number and List Price from Product Table where ListPrice not equal to 249.79
HTML EditorKeyboard Shortcuts
Font SizesParagraph
p Flag this QuestionQuestion 105 pts
You want to return only two specific fields from the Product table. Those fields are the Name and List Price. You want to know how many records there where the list price is less than 10. Write sql statements to do the following::
Write sql statements to do the following:
Display Name and List Price from Product where List Price is less then 10
HTML EditorKeyboard Shortcuts
Font SizesParagraph
p
-----------