You are on page 1of 3

To remove duplicate rows from the result set of a SELECT use the

following keyword:
A. NO DUPLICATE
B. UNIQUE
C. DISTINCT
D. None of the above
ANSWER: C
Which SQL statement is used to insert a new data in a database?
A. INSERT INTO
B. UPDATE
C. ADD
D. INSERT NEW
ANSWER: A
In a LIKE clause, you can could ask for any value ending in "qpt" by
writing
A. LIKE %qpt
B. LIKE *ton
C. LIKE ton$
D. LIKE ^.*ton$
ANSWER: A
A NULL value is treated as a blank or 0.
A. True
B. Fasle
C. None of the above
D. Invalid Question
ANSWER: B
In
A.
B.
C.
D.

a LIKE clause, you can ask for any 6 letter value by writing?
LIKE ??????
LIKE .{6} Answer 5: LIKE ^.{6}$
LIKE ...... (that's six dots)
LIKE ______ (that's six underscore characters)

ANSWER: D
A table may be joined to itself.
A. True
B. false
C. None of the above
D. Invalid Question
ANSWER: A
Which of the following is not a valid aggregate function?
A. COUNT
B. MIN
C. MAX
D. COMPUTE
ANSWER: D

What SQL clause is used to restrict the rows returned by a query?


A. AND
B. WHERE
C. HAVING
D. FROM
ANSWER: B
Primary Key does allow the Null Values whereas Unique key doesn't accept
the Null values.
A. False
B. True
C. None of the above
D. Invalid Question
ANSWER: A
In a SELECT with a GROUP BY clause, a WHERE clause, and a HAVING clause,
the WHERE conditions are applied before the HAVING conditions.
A. True
B. Fasle
C. Either True or False
D. None of the above
ANSWER: A
A webpage displays a picture. What tag was used to display that picture?
A. picture
B. image
C. img
D. src
ANSWER: C
Which tag allows you to add a row in a table?
A. <td> and </td>
B. <cr> and </cr>
C. <th> and </th>
D. <tr> and </tr>
ANSWER: D
How can you make a bulleted list?
A. <list>
B. <nl>
C. <ul>
D. <ol>
ANSWER: C
How can you make an e-mail link?
A. <a href=xxx@yyy>
B. <mail href=xxx@yyy>
C. <mail>xxx@yyy</mail>
D. <a href=mailto:xxx@yyy>
ANSWER: D

What is the correct HTML tag for inserting a line break?


A. <br>
B. <lb>
C. <break>
D. <newline>
ANSWER: A
What does vlink attribute mean?
A. visited link
B. virtual link
C. very good link
D. active link
ANSWER: A
Which attribute is used to name an element uniquely?
A. class
B. id
C. dot
D. all of above
ANSWER: B
The _____ character tells browsers to stop tagging the text
A. ?
B. /
C. >
D. %
ANSWER: B
Which attribute youll use with TD tag to merge two cells horizontally?
A. merge=colspan2
B. rowspan=2
C. colspan=2
D. merge=row2
ANSWER: C
Text within <EM> </EM> tag is displayed as ________
A. bold
B. italic
C. list
D. indented
ANSWER: B

You might also like