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, 23.06.2019 07:50
Apython programming question: assume s is a string of lower case characters. write a program that prints the number of times the string 'bob' occurs in s. for example, if s = 'azcbobobegghakl', then your program should print number of times bob occurs is: 2
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
In which view can you see speaker notes?
Answers: 1
question
Computers and Technology, 24.06.2019 17:00
Anew author is in the process of negotiating a contract for a new romance novel. the publisher is offering three options. in the first option, the author is paid $5,000 upon delivery of the final manuscript and $20,000 when the novel is published. in the second option, the author is paid 12.5% of the net price of the novel for each copy of the novel sold. in the third option, the author is paid 10% of the net price for the first 4,000 copies sold, and 14% of the net price for the copies sold over 4,000. the author has some idea about the number of copies that will be sold and would like to have an estimate of the royal- ties generated under each option. write a program that prompts the author to enter the net price of each copy of the novel and the estimated number of copies that will be sold. the program then outputs he royalties under each option and the best option the author could choose. (use appropriate named constants to store the special values such as royalty rates and fixed royalties.
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
List at least one thing to check for when you're checking the clarity and professionalism of a document.
Answers: 1
You know the right answer?
Q1. Which statement is true? Select * from dbo. menu where ItemType = 'Hamburger' order by ItemType...
Questions
question
Mathematics, 05.05.2021 16:50
question
Mathematics, 05.05.2021 16:50