Computers and Technology

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

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 01:30, luje
Imagine that you have a friend who is starting a small business and is interested in using social media to spread the word. he is not certain that it is a good move, and has come to you for . would you advise him to use social media to advertise his business? why or why not? support you answer with information from the text.
Answers: 1
image
Computers and Technology, 23.06.2019 01:00, Ltik11900
Write the command that can be used to answer the following questions. (hint: try each out on the system to check your results.) a. find all files on the system that have the word test" as part of their filename. b. search the path variable for the pathname to the awk command. c. find all files in the /usr directory and subdirectories that are larger than 50 kilobytes in size. d. find all files in the /usr directory and subdirectories that are less than 70 kilobytes in size. e. find all files in the / directory and subdirectories that are symbolic links. f. find all files in the /var directory and subdirectories that were accessed less than 60 minutes ago. g. find all files in the /var directory and subdirectories that were accessed less than six days ago. h. find all files in the /home directory and subdirectories that are empty. i. find all files in the /etc directory and subdirectories that are owned by the group bin."
Answers: 1
image
Computers and Technology, 23.06.2019 16:00, lokaranjan5736
Write a grading program for a class with the following grading policies: a. there are two quizzes, each graded on the basis of 10 points. b. there is one midterm exam and one final exam, each graded on the basis of 100 points. c. the final exam counts for 50% of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (do not forget to normalize the quiz scores. they should be converted to a percentage before they are averaged in.) any grade of 90 or more is an a, any grade of 80 or more (but less than 90) is a b, any grade of 70 or more (but less than 80) is a c, any grade of 60 or more (but less than 70) is a d, and any grade below 60 is an f. the program will read in the student’s scores and output the student’s record, which consists of two quiz and two exam scores as well as the student’s average numeric score for the entire course and final letter grade. define and use a structure for the student reco
Answers: 2
image
Computers and Technology, 23.06.2019 21:00, webbjalia04
Uget brainliest if accurate mary has been given the responsibility of hiring a person for the position of a software testing officer. which management function would mary achieve this responsibility?
Answers: 1
Do you know the correct answer?
Q1. Which statement is true? Select * from dbo. menu where ItemType = 'Hamburger' order by ItemType...

Questions in other subjects:

Konu
English, 18.03.2021 02:20
Konu
Mathematics, 18.03.2021 02:20