subject

Q1. Which statement is true? Select * from dbo. menu where ItemType = 'Hamburger' order by ItemType descen
Select * from dbo. menu where ItemType = 'Hamburger' order by ItemType desc
Select * from dbo. menu order by ItemType desc where ItemType = 'Hamburger'
Select * from dbo. menu order by ItemType descending where ItemType = 'Hamburger'
order by ItemType desc Select * from dbo. menu where ItemType = 'Hamburger'

Q2. Which statement is correct?
DELETE * FROM dbo. Menu WHERE WeelySales < 5000
DELETE * FROM dbo. Menu SET WeelySales < 5000
DELETE FROM dbo. Menu WHERE WeelySales < 5000
DELETE * FROM dbo. Menu HAVING WeelySales < 5000
DELETE WeeklySales FROM dbo. Menu WHERE WeelySales < 5000

Q3. Which statement is correct?
SELECT ItemType, ItemType FROM dbo. Menu HAVING ItemType > 1 WHERE ItemType IS NOT NULL GROUP BY ItemType ORDER BY ItemType
SELECT ItemType, ItemType FROM dbo. Menu WHERE ItemType IS NOT NULL HAVING ItemType > 1 GROUP BY ItemType ORDER BY ItemType
SELECT ItemType, ItemType FROM dbo. Menu WHERE ItemType IS NOT NULL GROUP BY ItemType HAVING ItemType > 1 ORDER BY ItemType
SELECT ItemType, ItemType FROM dbo. Menu WHERE ItemType IS NOT NULL GROUP BY ItemType ORDER BY ItemType HAVING ItemType > 1
SELECT ItemType, ItemType HAVING ItemType > 1 FROM dbo. Menu WHERE ItemType IS NOT NULL GROUP BY ItemType HAVING ItemType > 1 ORDER BY ItemType

Q4. Which one of the following is true?

TRUNCATE is a logged operation on a per-row basis
You can TRUNCATE a table that has foreign key constraints
DELETE will reset any identity columns to the default seed value
DELETE is a faster operation to perform over TRUNCATE
TRUNCATE logs the deallocation of the data pages in which the data exists

Q5. Which statement is correct?

UPDATE dbo. menu SET ItemName = '8 layer Burrito' WHERE ItemName = '7 layer Burrito'
UPDATE dbo. menu SELECT ItemName = '8 layer Burrito' WHERE ItemName = '7 layer Burrito'
UPDATE dbo. menu SET '8 layer Burrito' = ItemName WHERE '7 layer Burrito' = ItemName
UPDATE dbo. menu SELECT '8 layer Burrito' = ItemName WHERE '7 layer Burrito' = ItemName

Q6. Which Statement is usually only used in conjunction with the GROUP BY Clause?

WHERE
SELECT
ORDER BY
HAVING
DELETE

Q7. Which Statement can NOT be used with the WHERE Clause?

SELECT
TRUNCATE
DELETE
UPDATE
HAVING
Q8. Which Clause is executed before the others?

WHERE
GROUP BY
HAVING
ORDER BY

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:30
Entering key dates from your course syllabi test and quiz dates, assignments due dates in your planner can you manage your schedule by allowing you to see commitments ahead of time.
Answers: 3
question
Computers and Technology, 22.06.2019 08:10
Ihave a music player on my phone. i can buy songs, add them to playlists and play them. obviously it would be redundant to store each song in each playlist; each playlist is just a list of pointers to the songs. for this lab you will simulate this behavior. your program will need to have options to: add songs to the system library (you will store the text of the first line of the song, rather than the audio) add playlists add songs to a playlist list playlists play a playlist list all of the songs in the library with a count of how many times each song has been played remove a song from a playlist remove a playlist remove a song from the library (and thus from all playlists that contain it) note that we will not be checking many error cases. in real programming this would be bad, you should usually try to recognize and respond to as many types of errors as you can. in the context of class we are trying to acquaint you with as many concepts as possible, so for the sake of educational efficiency we will not be checking most errors in this lab, you may assume that your user provides correct input. you may add all appropriate error testing if you wish, but we will not be testing for it.
Answers: 2
question
Computers and Technology, 22.06.2019 12:40
How do i get the most points, without any effort?
Answers: 2
question
Computers and Technology, 23.06.2019 09:50
Allison and her group have completed the data entry for their spreadsheet project. they are in the process of formatting the data to make it easier to read and understand. the title is located in cell a5. the group has decided to merge cells a3: a7 to attempt to center the title over the data. after the merge, allison points out that it is not centered and looks bad. where would the title appear if allison unmerged the cells in an attempt to fix the title problem?
Answers: 2
You know the right answer?
Q1. Which statement is true? Select * from dbo. menu where ItemType = 'Hamburger' order by ItemType...
Questions
question
Mathematics, 01.08.2020 23:01
Questions on the website: 13722367